org.openmobileis.synchro.openmsp.protocol
Class Status
java.lang.Object
org.openmobileis.synchro.openmsp.protocol.AbstractCommand
org.openmobileis.synchro.openmsp.protocol.ResponseCommand
org.openmobileis.synchro.openmsp.protocol.Status
- All Implemented Interfaces:
- Element, OpenMISSerializable, java.io.Serializable
- public class Status
- extends ResponseCommand
- implements Element
Title: OpenMobileIS project source
Description: Set a status for request command
- 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 |
Constructor Summary |
protected |
Status()
|
|
Status(int cmdRef,
int status)
|
Methods inherited from class org.openmobileis.synchro.openmsp.protocol.AbstractCommand |
getCmdId, getElementType, hasCommandId, hasCommmandId, setCmdId, setCredentialData, setCredentialMeta, 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, setCmdRef, setCredentialData, setCredentialMeta, setElementType, setMetaInformation, setSource, setSourceRef, setSourceSessionID, setTarget, setTargetRef, writeBeginTag, writeEndTag |
STATUS_SYNC_IN_PROGRESS
public static final int STATUS_SYNC_IN_PROGRESS
- See Also:
- Constant Field Values
STATUS_OK
public static final int STATUS_OK
- See Also:
- Constant Field Values
STATUS_NO_CONTENT
public static final int STATUS_NO_CONTENT
- See Also:
- Constant Field Values
STATUS_PARTIAL_CONTENT
public static final int STATUS_PARTIAL_CONTENT
- See Also:
- Constant Field Values
STATUS_WRONG_FORMAT
public static final int STATUS_WRONG_FORMAT
- See Also:
- Constant Field Values
STATUS_UNAUTHORIZED
public static final int STATUS_UNAUTHORIZED
- See Also:
- Constant Field Values
STATUS_NOT_FOUND
public static final int STATUS_NOT_FOUND
- See Also:
- Constant Field Values
STATUS_AUTHENTIFICATION_REQUIRED
public static final int STATUS_AUTHENTIFICATION_REQUIRED
- See Also:
- Constant Field Values
STATUS_TOO_LARGE
public static final int STATUS_TOO_LARGE
- See Also:
- Constant Field Values
STATUS_UNSUPPORTED_MEDIA
public static final int STATUS_UNSUPPORTED_MEDIA
- See Also:
- Constant Field Values
STATUS_EXIST_TARGET
public static final int STATUS_EXIST_TARGET
- See Also:
- Constant Field Values
STATUS_DEVICE_FULL
public static final int STATUS_DEVICE_FULL
- See Also:
- Constant Field Values
STATUS_FAILED
public static final int STATUS_FAILED
- See Also:
- Constant Field Values
STATUS_COMMAND_NOT_IMPLEMENTED
public static final int STATUS_COMMAND_NOT_IMPLEMENTED
- See Also:
- Constant Field Values
STATUS_SYNCHRO_CONFLIC
public static final int STATUS_SYNCHRO_CONFLIC
- See Also:
- Constant Field Values
status
protected int status
Status
protected Status()
Status
public Status(int cmdRef,
int status)
getStatus
public int getStatus()
toString
public java.lang.String toString()
- Overrides:
toString
in class ResponseCommand
isAtomic
public boolean isAtomic()
- Implements Element interface
setData
public void setData(java.lang.String data)
- Specified by:
setData
in interface Element
- Overrides:
setData
in class AbstractCommand
writeContent
public void writeContent(java.lang.StringBuffer buffer)
- Specified by:
writeContent
in interface Element
- Overrides:
writeContent
in class ResponseCommand
Copyright 2006 OpenMobileIS. All Rights Reserved.