|
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.push.Status
Status class reports the delivery status of a message ID. Status helps client to track message status.
A status may have a failover status. Failover status is the status of the failover address. Statuses may be chained to reflect the statuses of a failover chain. Status may have following fields:
- status code: what status?
- status string: what status?
- time stamp: when did that status happen?
- recipient's address: who's status?
- message ID : who's status?
- transport: what is the delivery type?
Note:
Never access any public data fields inside this class directly, because they are for internal use in this release and will be changed in coming releases. Always use public methods of this class.
Field Summary | |
AddressData |
address |
static int |
DELIVERY_TO_DEVICE_FAILURE |
static int |
DELIVERY_TO_DEVICE_SUCCESS |
static int |
DELIVERY_TO_SERVER_FAILURE |
static int |
DELIVERY_TO_SERVER_SUCCESS |
int |
failoverOrder |
Status |
failoverStatus |
static int |
INTERMEDIATE_NOTIFICATION |
java.lang.String |
mContent |
java.lang.String |
messageID |
int |
mType |
java.lang.String |
originalMessageID |
static int |
OVERALL_FAILURE Supported status ids. |
static int |
OVERALL_PENDING |
static int |
OVERALL_SUCCESS |
static int |
READ_ACKNOWLEDGEMENT_FAILURE |
static int |
READ_ACKNOWLEDGEMENT_SUCCESS |
static int |
TIMEOUT |
long |
timestamp |
int |
totalFailovers |
java.lang.String |
transport |
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 | |
boolean |
equals(java.lang.Object other) |
AddressData |
getAddress() get address of the status |
java.lang.String |
getContent() Get the status content. |
int |
getFailoverOrder() get failover order number of this recipient. |
Status |
getFailoverStatus() Status object may be chained if the recipient has failover address(es). |
java.lang.String |
getMessageID() get message ID of the status |
java.lang.String |
getOriginalMessageID() get original message ID, which is returned by Push.sendMsg() or PushLite.sendMsg() |
long |
getTimestamp() get time stamp of the status |
int |
getTotalFailovers() get total failovers of this recipeint. |
java.lang.String |
getTransport() get transport of the status |
int |
getType() Get the status type. |
int |
hashCode() |
void |
setAddress(AddressData addr) set address of the status |
void |
setContent(java.lang.String content) Set the status content. |
void |
setFailoverOrder(int number) set current failover order number of this recipient Failover order number is the order number of current failover channel appearing in the failover channel list. |
void |
setFailoverStatus(Status fStatus) Sets failover status of current status object |
void |
setMessageID(java.lang.String id) set message ID of the status |
void |
setOriginalMessageID(java.lang.String origMsgID) Set the original message ID. |
void |
setTimestamp(long timestamp) set time stamp of the status |
void |
setTotalFailovers(int total) set total failovers of this recipient |
void |
setTransport(java.lang.String trans) set transport of the status |
void |
setType(int type) Set the status type. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public AddressData address
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 int failoverOrder
public Status failoverStatus
public static final int INTERMEDIATE_NOTIFICATION
public java.lang.String mContent
public java.lang.String messageID
public int mType
public java.lang.String originalMessageID
public static final int OVERALL_FAILURE
public static final int OVERALL_PENDING
public static final int OVERALL_SUCCESS
public static final int READ_ACKNOWLEDGEMENT_FAILURE
public static final int READ_ACKNOWLEDGEMENT_SUCCESS
public static final int TIMEOUT
public long timestamp
public int totalFailovers
public java.lang.String transport
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 boolean equals(java.lang.Object other)
public AddressData getAddress()
public java.lang.String getContent()
public int getFailoverOrder()
public Status getFailoverStatus()
public java.lang.String getMessageID()
public java.lang.String getOriginalMessageID()
public long getTimestamp()
public int getTotalFailovers()
public java.lang.String getTransport()
public int getType()
public int hashCode()
public void setAddress(AddressData addr)
public void setContent(java.lang.String content)
content
- the status content.public void setFailoverOrder(int number)
public void setFailoverStatus(Status fStatus)
public void setMessageID(java.lang.String id)
public void setOriginalMessageID(java.lang.String origMsgID)
public void setTimestamp(long timestamp)
public void setTotalFailovers(int total)
public void setTransport(java.lang.String trans)
public void setType(int type)
type
- the status type.public java.lang.String toString()
|
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 |