org.openmobileis.synchro.openmsp.protocol
Class ResponseCommand
java.lang.Object
org.openmobileis.synchro.openmsp.protocol.AbstractCommand
org.openmobileis.synchro.openmsp.protocol.ResponseCommand
- All Implemented Interfaces:
- Element, OpenMISSerializable, java.io.Serializable
- Direct Known Subclasses:
- Result, Status
- public abstract class ResponseCommand
- extends AbstractCommand
- implements Element
Title: OpenMobileIS project source
Description: Response command class manages the following commands : Result and Status
A response command have an attribute CmdRef (command reference) which refer to the request command identifier.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
- See Also:
- Serialized Form
Field Summary |
protected int |
cmdRef
|
Fields inherited from interface org.openmobileis.synchro.openmsp.protocol.Element |
ADD, DELETE, FINAL, GET, HEADER, ITEM, MAP, MAP_ITEM, REPLACE, RESULT, SEQUENCE, STATUS, SYNC |
Methods inherited from class org.openmobileis.synchro.openmsp.protocol.AbstractCommand |
getCmdId, getElementType, hasCommandId, hasCommmandId, setCmdId, setCredentialData, setCredentialMeta, setData, setElementType, setMetaInformation, setSource, setSourceRef, setSourceSessionID, setTarget, setTargetRef, writeBeginTag, writeEndTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openmobileis.synchro.openmsp.protocol.Element |
getCmdId, getElementType, hasCommmandId, setCmdId, setCredentialData, setCredentialMeta, setData, setElementType, setMetaInformation, setSource, setSourceRef, setSourceSessionID, setTarget, setTargetRef, writeBeginTag, writeEndTag |
cmdRef
protected int cmdRef
ResponseCommand
protected ResponseCommand(int commandType)
ResponseCommand
public ResponseCommand(int commandType,
int cmdRef)
getCmdRef
public int getCmdRef()
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractCommand
setCmdRef
public void setCmdRef(int cmdRef)
- Implements Element interface
- Specified by:
setCmdRef
in interface Element
- Overrides:
setCmdRef
in class AbstractCommand
writeContent
public void writeContent(java.lang.StringBuffer buffer)
- Specified by:
writeContent
in interface Element
- Overrides:
writeContent
in class AbstractCommand
Copyright 2006 OpenMobileIS. All Rights Reserved.