|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.panama.messaging.transport.Status
A status is some information about a message sent. It is reported to the transport system by a service center. This information could be a delivery notification, a failure notification, a state update, or something else.
Field Summary | |
static int |
DELIVERY_TO_DEVICE_FAILURE Status type: message is failed to deliver to the device. |
static int |
DELIVERY_TO_DEVICE_SUCCESS Status type: message is delivered to the device. |
static int |
DELIVERY_TO_SERVER_FAILURE Status type: message is failed to deliver to the external gateway. |
static int |
DELIVERY_TO_SERVER_SUCCESS Status type: message is delivered to the external gateway. |
static int |
INTERMEDIATE_NOTIFICATION Status type: intermediate notification. |
static int |
READ_ACKNOWLEDGEMENT_FAILURE Status type: failed to read the message. |
static int |
READ_ACKNOWLEDGEMENT_SUCCESS Status type: message has been read. |
static int |
UNKNOWN_FAILURE Status type: unknown failure. |
static int |
UNKNOWN_STATUS_TYPE Status type: unknown status type. |
static int |
USER_REPLY_ACKNOWLEDGEMENT Status type: message has been replied. |
static int |
USER_REPLY_ACKNOWLEDGEMENT_FAILURE Status type: failed to reply to the message. |
Constructor Summary | |
Status() Constructor. |
Method Summary | |
java.lang.String |
getContent() Get the status content. |
long |
getTimeStamp() Get the time stamp. |
int |
getType() Get the status type. |
void |
readExternal(java.io.ObjectInput oi) Read a status object from a stream. |
void |
setContent(java.lang.String content) Set the status content. |
void |
setTimeStamp(long time) Set the time stamp. |
void |
setType(int type) Set the status type. |
void |
writeExternal(java.io.ObjectOutput oo) Write a status object to a stream. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DELIVERY_TO_DEVICE_FAILURE
public static final int DELIVERY_TO_DEVICE_SUCCESS
public static final int DELIVERY_TO_SERVER_FAILURE
public static final int DELIVERY_TO_SERVER_SUCCESS
public static final int INTERMEDIATE_NOTIFICATION
public static final int READ_ACKNOWLEDGEMENT_FAILURE
public static final int READ_ACKNOWLEDGEMENT_SUCCESS
public static final int UNKNOWN_FAILURE
public static final int UNKNOWN_STATUS_TYPE
public static final int USER_REPLY_ACKNOWLEDGEMENT
public static final int USER_REPLY_ACKNOWLEDGEMENT_FAILURE
Constructor Detail |
public Status()
Method Detail |
public java.lang.String getContent()
public long getTimeStamp()
public int getType()
public void readExternal(java.io.ObjectInput oi) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
oi
- the stream to read from.java.io.IOException
java.lang.ClassNotFoundException
public void setContent(java.lang.String content)
content
- the status content.public void setTimeStamp(long time)
time
- the time stamp.public void setType(int type)
type
- the status type.public void writeExternal(java.io.ObjectOutput oo) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
oo
- the stream to write to.java.io.IOException
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |