|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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.
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 |
Type | Field |
---|---|
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
|
static int |
INTERMEDIATE_NOTIFICATION
|
java.lang.String |
mContent
|
java.lang.String |
messageID
|
int |
mType
|
static int |
READ_ACKNOWLEDGEMENT_FAILURE
|
static int |
READ_ACKNOWLEDGEMENT_SUCCESS
|
long |
timestamp
|
java.lang.String |
transport
|
static int |
UNKNOWN_FAILURE
|
static int |
UNKNOWN_STATUS_TYPE
Supported status ids. |
static int |
USER_REPLY_ACKNOWLEDGEMENT
|
Constructor Summary |
Status()
Constructor |
Method Summary |
Type | Method |
---|---|
AddressData |
getAddress()
get address of the status |
java.lang.String |
getContent()
Get the status content. |
java.lang.String |
getMessageID()
get message ID of the status |
long |
getTimestamp()
get time stamp of the status |
java.lang.String |
getTransport()
get transport of the status |
int |
getType()
Get the status type. |
void |
setAddress(AddressData addr)
set address of the status |
void |
setContent(java.lang.String content)
Set the status content. |
void |
setMessageID(java.lang.String id)
set message ID of the status |
void |
setTimestamp(long timestamp)
set time stamp of the status |
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWN_STATUS_TYPE
public static final int UNKNOWN_FAILURE
public static final int READ_ACKNOWLEDGEMENT_FAILURE
public static final int DELIVERY_TO_DEVICE_FAILURE
public static final int DELIVERY_TO_SERVER_FAILURE
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 java.lang.String mContent
public int mType
public long timestamp
public java.lang.String messageID
public AddressData address
public java.lang.String transport
Constructor Detail |
public Status()
Method Detail |
public java.lang.String getContent()
public int getType()
public void setContent(java.lang.String content)
content
- the status content.public void setType(int type)
type
- the status type.public long getTimestamp()
public void setTimestamp(long timestamp)
public java.lang.String getMessageID()
public void setMessageID(java.lang.String id)
public void setAddress(AddressData addr)
public AddressData getAddress()
public void setTransport(java.lang.String trans)
public java.lang.String getTransport()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |