|
Oracle Application Server Wireless Java API Reference B10400-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 |
static int |
DELIVERY_TO_DEVICE_SUCCESS |
static int |
DELIVERY_TO_SERVER_FAILURE |
static int |
DELIVERY_TO_SERVER_SUCCESS |
static int |
INTERMEDIATE_NOTIFICATIONSome supported status ids. |
static int |
READ_ACKNOWLEDGEMENT_FAILURE |
static int |
READ_ACKNOWLEDGEMENT_SUCCESS |
static int |
UNKNOWN_FAILURE |
static int |
UNKNOWN_STATUS_TYPE |
static int |
USER_REPLY_ACKNOWLEDGEMENT |
static int |
USER_REPLY_ACKNOWLEDGEMENT_FAILURE |
| 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 INTERMEDIATE_NOTIFICATION
public static final int DELIVERY_TO_SERVER_SUCCESS
public static final int DELIVERY_TO_DEVICE_SUCCESS
public static final int READ_ACKNOWLEDGEMENT_SUCCESS
public static final int USER_REPLY_ACKNOWLEDGEMENT
public static final int DELIVERY_TO_SERVER_FAILURE
public static final int DELIVERY_TO_DEVICE_FAILURE
public static final int READ_ACKNOWLEDGEMENT_FAILURE
public static final int USER_REPLY_ACKNOWLEDGEMENT_FAILURE
public static final int UNKNOWN_FAILURE
public static final int UNKNOWN_STATUS_TYPE
| Constructor Detail |
public Status()
| Method Detail |
public java.lang.String getContent()
public int getType()
public long getTimeStamp()
public void setContent(java.lang.String content)
content - the status content.public void setType(int type)
type - the status type.public void setTimeStamp(long time)
time - the time stamp.
public void readExternal(java.io.ObjectInput oi)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizableoi - the stream to read from.java.io.IOExceptionjava.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput oo)
throws java.io.IOException
writeExternal in interface java.io.Externalizableoo - the stream to write to.java.io.IOException
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||