Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener Class Reference

Inheritance diagram for org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener:

org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPSynchroTargetListener org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper List of all members.

Detailed Description

Title: OpenMobileIS project source
Description:.

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

Definition at line 65 of file OpenMSPDBSynchroTargetListener.java.

Public Member Functions

 OpenMSPDBSynchroTargetListener ()
SyncTargetAnswer processCommand (Credential cred, ContainerMessage containerMessage) throws OpenMSPException
abstract String getTargetName ()
 return the target listener name

Protected Member Functions

int getUpdateMaxNbRow ()
 Return the max number of row that update file can contains If more than max row must be updated on the PDA, the database file will be send.
void processSyncActionMetaData (String metadata) throws ServiceException
 call to process sync command meta data Extends this method to manage sync command meta data.
abstract void connect (Credential cred) throws UserNotFoundException, ServiceException
 validate the credential and connect if needed
abstract SynchroAtomicObject[] getAllModifiedAtomicObjectSince (long syncNumber) throws OpenMSPException
 return all atomic object uid modified since specified date for service
abstract OpenMISFile[] getDatabaseImportFiles () throws ServiceException
 call for complete DB synchro.


Member Function Documentation

abstract OpenMISFile [] org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.getDatabaseImportFiles  )  throws ServiceException [protected, pure virtual]
 

call for complete DB synchro.

return all the file needed to dump the terminal db for this service.

Returns:
Exceptions:
ServiceException 

Implemented in org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper.

int org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.getUpdateMaxNbRow  )  [protected]
 

Return the max number of row that update file can contains If more than max row must be updated on the PDA, the database file will be send.

If return -1 (default implementation) max row in not taken into account (ie always update file) If return 0 the database file is always send

Reimplemented in org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper.

Definition at line 258 of file OpenMSPDBSynchroTargetListener.java.


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:40 2005 for OpenMobileIS by  doxygen 1.4.4