org.openmobileis.synchro.openmsp.protocol.Command Class Reference

Inheritance diagram for org.openmobileis.synchro.openmsp.protocol.Command:

org.openmobileis.synchro.openmsp.protocol.RequestCommand org.openmobileis.synchro.openmsp.protocol.Element org.openmobileis.synchro.openmsp.protocol.AbstractCommand org.openmobileis.synchro.openmsp.protocol.Element org.openmobileis.common.util.OpenMISSerializable org.openmobileis.synchro.openmsp.protocol.Element org.openmobileis.common.util.OpenMISSerializable org.openmobileis.common.util.OpenMISSerializable List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Represents Add, Delete, Replace commands.

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

Definition at line 36 of file Command.java.

Public Member Functions

 Command (int commandType, String source, String target)
String getTarget ()
String getSource ()
long getSourceSessionID ()
 return the optional sessionID of source element.
void setSource (String source)
void setTarget (String target)
void setSourceSessionID (long sessionid)
String toString ()
void writeContent (StringBuffer buffer)

Protected Member Functions

 Command (int commandType)

Protected Attributes

String target
long sessionID = -1
String source

Static Package Attributes

static final long serialVersionUID = 1L
 Set version of the serialized data to make it compatible with new class versions.


Member Function Documentation

long org.openmobileis.synchro.openmsp.protocol.Command.getSourceSessionID (  ) 

return the optional sessionID of source element.

If not present return -1.

Definition at line 74 of file Command.java.

References org.openmobileis.synchro.openmsp.protocol.Command.sessionID.

Referenced by org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.processCommand().


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:42 2006 for OpenMobileIS by  doxygen 1.5.1-p1