Inheritance diagram for org.openmobileis.synchro.openmsp.protocol.AbstractCommand:
See Message and MessageFactory to have example for building commands Direct subclass : RequestCommand, ResponseCommand, Sequence
: Sequence
Definition at line 45 of file AbstractCommand.java.
Public Member Functions | |
AbstractCommand (int commandType) | |
int | getElementType () |
int | getCmdId () |
boolean | hasCommmandId () |
String | toString () |
boolean | hasCommandId () |
void | setCmdId (int cmdId) |
void | setElementType (int elementType) |
void | setCredentialData (String data) |
void | setCredentialMeta (String meta) |
void | setSource (String source) |
void | setSourceSessionID (long sessionID) |
void | setTarget (String target) |
void | setMetaInformation (String meta) |
void | setCmdRef (int cmdRef) |
void | setSourceRef (String source) |
void | setTargetRef (String target) |
void | setData (String data) |
void | writeBeginTag (StringBuffer buffer) |
void | writeContent (StringBuffer buffer) |
void | writeEndTag (StringBuffer buffer) |
Protected Attributes | |
int | commandType |
int | cmdId = 0 |
Static Package Attributes | |
static final long | serialVersionUID = 1L |
Set version of the serialized data to make it compatible with new class versions. |