org.openmobileis.synchro.openmsp.protocol.test
Class TestOpenMSPSynchroTargetListener

java.lang.Object
  extended byorg.openmobileis.synchro.openmsp.server.synctarget.DefaultOpenMSPSynchroTargetListener
      extended byorg.openmobileis.synchro.openmsp.protocol.test.TestOpenMSPSynchroTargetListener
All Implemented Interfaces:
OpenMSPSynchroTargetListener

public final class TestOpenMSPSynchroTargetListener
extends DefaultOpenMSPSynchroTargetListener

Title: OpenMobileIS project source
Description:

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Constructor Summary
TestOpenMSPSynchroTargetListener()
           
 
Method Summary
protected  void beginProcessOpenMSpCommand(Credential cred)
           
protected  ContainerMessage[] endProcessOpenMSpCommand()
           
 java.lang.String getTargetName()
           
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)
           
 
Methods inherited from class org.openmobileis.synchro.openmsp.server.synctarget.DefaultOpenMSPSynchroTargetListener
addFileToSynchro, processCommand, processSyncCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestOpenMSPSynchroTargetListener

public TestOpenMSPSynchroTargetListener()
Method Detail

getTargetName

public java.lang.String getTargetName()
Specified by:
getTargetName in interface OpenMSPSynchroTargetListener
Specified by:
getTargetName in class DefaultOpenMSPSynchroTargetListener

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

processGetCommand

protected ContainerMessage[] processGetCommand(Credential cred,
                                               ContainerMessage getContainer)
                                        throws OpenMSPException
Specified by:
processGetCommand 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


Copyright 2006 OpenMobileIS. All Rights Reserved.