org.openmobileis.module.server
Class ModuleJarSynchroTarget
java.lang.Object
org.openmobileis.synchro.openmsp.server.synctarget.DefaultOpenMSPSynchroTargetListener
org.openmobileis.module.server.ModuleJarSynchroTarget
- All Implemented Interfaces:
- OpenMSPSynchroTargetListener
- public final class ModuleJarSynchroTarget
- extends DefaultOpenMSPSynchroTargetListener
Title: OpenMobileIS project source
Description:
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
Method Summary |
protected void |
beginProcessOpenMSpCommand(Credential cred)
|
protected ContainerMessage[] |
endProcessOpenMSpCommand()
|
ProfileModule |
getProfilModule()
|
java.lang.String |
getTargetName()
|
java.lang.String |
getVersion()
|
protected void |
notifySyncAction(long sessionId,
Credential cred,
Command syncCommand)
|
protected Status |
processAddCommand(Credential cred,
ContainerMessage addContainer)
|
protected Status |
processDeleteCommand(Credential cred,
ContainerMessage deleteContainer)
|
protected ContainerMessage[] |
processGetCommand(Credential cred,
ContainerMessage getContainer)
|
protected ContainerMessage |
processMapCommand(Credential cred,
ContainerMessage mapContainer)
|
protected Status |
processReplaceCommand(Credential cred,
ContainerMessage replaceContainer)
|
protected void |
processResultCommand(Credential cred,
Result resultCommande)
|
protected void |
processStatusCommand(Credential cred,
Status statusCommande)
|
void |
setTerminalJar(byte[] jar,
long lastModified)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listenerModule
protected ProfileModule listenerModule
terminaljar
protected byte[] terminaljar
moduleJarLastModified
protected long moduleJarLastModified
ModuleJarSynchroTarget
public ModuleJarSynchroTarget(ProfileModule module)
throws java.io.FileNotFoundException,
XmlPullParserException,
java.io.IOException
getProfilModule
public ProfileModule getProfilModule()
setTerminalJar
public void setTerminalJar(byte[] jar,
long lastModified)
getTargetName
public java.lang.String getTargetName()
- Specified by:
getTargetName
in interface OpenMSPSynchroTargetListener
- Specified by:
getTargetName
in class DefaultOpenMSPSynchroTargetListener
getVersion
public java.lang.String getVersion()
processMapCommand
protected ContainerMessage processMapCommand(Credential cred,
ContainerMessage mapContainer)
- Specified by:
processMapCommand
in class DefaultOpenMSPSynchroTargetListener
notifySyncAction
protected void notifySyncAction(long sessionId,
Credential cred,
Command syncCommand)
throws OpenMSPException
- Specified by:
notifySyncAction
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
processResultCommand
protected void processResultCommand(Credential cred,
Result resultCommande)
throws OpenMSPException
- Specified by:
processResultCommand
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
processStatusCommand
protected void processStatusCommand(Credential cred,
Status statusCommande)
throws OpenMSPException
- Specified by:
processStatusCommand
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
processAddCommand
protected Status processAddCommand(Credential cred,
ContainerMessage addContainer)
throws OpenMSPException
- Specified by:
processAddCommand
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
processDeleteCommand
protected Status processDeleteCommand(Credential cred,
ContainerMessage deleteContainer)
throws OpenMSPException
- Specified by:
processDeleteCommand
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
processReplaceCommand
protected Status processReplaceCommand(Credential cred,
ContainerMessage replaceContainer)
throws OpenMSPException
- Specified by:
processReplaceCommand
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
beginProcessOpenMSpCommand
protected void beginProcessOpenMSpCommand(Credential cred)
throws OpenMSPException
- Specified by:
beginProcessOpenMSpCommand
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
endProcessOpenMSpCommand
protected ContainerMessage[] endProcessOpenMSpCommand()
throws OpenMSPException
- Specified by:
endProcessOpenMSpCommand
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
processGetCommand
protected ContainerMessage[] processGetCommand(Credential cred,
ContainerMessage getContainer)
throws OpenMSPException
- Specified by:
processGetCommand
in class DefaultOpenMSPSynchroTargetListener
- Throws:
OpenMSPException
Copyright 2006 OpenMobileIS. All Rights Reserved.