org.openmobileis.synchro.openmsp.protocol
Class RequestCommand
java.lang.Object
org.openmobileis.synchro.openmsp.protocol.AbstractCommand
org.openmobileis.synchro.openmsp.protocol.RequestCommand
- All Implemented Interfaces:
- Element, OpenMISSerializable, java.io.Serializable
- Direct Known Subclasses:
- Command
- public class RequestCommand
- extends AbstractCommand
- implements Element
Title: OpenMobileIS project source
Description: Request command class manages the following commands : Sync, Map
In fact, it manages all request commands which not use source and target attributes
Request commands manages optional meta information and a credential
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
- See Also:
- Serialized Form
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, setCmdRef, setData, setElementType, 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, setCmdRef, setData, setElementType, setSource, setSourceRef, setSourceSessionID, setTarget, setTargetRef, writeBeginTag, writeEndTag |
credential
protected java.lang.String[] credential
metaInfo
protected java.lang.String metaInfo
RequestCommand
public RequestCommand(int commandType)
setCredential
public void setCredential(java.lang.String meta,
java.lang.String data)
setCredentialMeta
public void setCredentialMeta(java.lang.String meta)
- Specified by:
setCredentialMeta
in interface Element
- Overrides:
setCredentialMeta
in class AbstractCommand
setCredentialData
public void setCredentialData(java.lang.String data)
- Specified by:
setCredentialData
in interface Element
- Overrides:
setCredentialData
in class AbstractCommand
getCrendential
public java.lang.String[] getCrendential()
getMetaInformation
public java.lang.String getMetaInformation()
setMetaInformation
public void setMetaInformation(java.lang.String meta)
- Specified by:
setMetaInformation
in interface Element
- Overrides:
setMetaInformation
in class AbstractCommand
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractCommand
writeContent
public void writeContent(java.lang.StringBuffer buffer)
- Implements Element interface
- Specified by:
writeContent
in interface Element
- Overrides:
writeContent
in class AbstractCommand
Copyright 2006 OpenMobileIS. All Rights Reserved.