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

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

org.openmobileis.synchro.openmsp.protocol.ResponseCommand 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: Set a status for request command.

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

Definition at line 36 of file Status.java.

Public Member Functions

 Status (int cmdRef, int status)
int getStatus ()
String toString ()
boolean isAtomic ()
void setData (String data)
void writeContent (StringBuffer buffer)

Static Public Attributes

static final int STATUS_SYNC_IN_PROGRESS = 101
static final int STATUS_OK = 200
static final int STATUS_NO_CONTENT = 204
static final int STATUS_PARTIAL_CONTENT = 206
static final int STATUS_WRONG_FORMAT = 400
static final int STATUS_UNAUTHORIZED = 401
static final int STATUS_NOT_FOUND = 404
static final int STATUS_AUTHENTIFICATION_REQUIRED = 407
static final int STATUS_TOO_LARGE = 413
static final int STATUS_UNSUPPORTED_MEDIA = 415
static final int STATUS_EXIST_TARGET = 418
static final int STATUS_DEVICE_FULL = 420
static final int STATUS_FAILED = 500
static final int STATUS_COMMAND_NOT_IMPLEMENTED = 501
static final int STATUS_SYNCHRO_CONFLIC = 1001

Protected Member Functions

 Status ()

Protected Attributes

int status

Static Package Attributes

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


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