|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.push.PushOutcome
public class PushOutcome
The outcome of a push request for a particular address.
| Constructor Summary | |
|---|---|
PushOutcome(String address,
StatusCode code,
String description,
Date eventTime,
MessageState messageState,
Boolean applicationReliable)
Constructs the outcome of a push request. |
|
| Method Summary | |
|---|---|
String |
getAddress()
Gets the address associated with the outcome. |
StatusCode |
getCode()
Gets the status code of the outcome. |
String |
getDescription()
Gets a textual description of the outcome. |
Date |
getEventTime()
Gets the date at which the outcome was decided. |
MessageState |
getMessageState()
Gets the current state of the request. |
boolean |
isApplicationReliable()
Deprecated. As of release 1.1, replaced by isAppReliable(). |
Boolean |
isAppReliable()
Whether or not the delivery method of the request was application-level reliable. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PushOutcome(String address,
StatusCode code,
String description,
Date eventTime,
MessageState messageState,
Boolean applicationReliable)
address - the address (subscriber id if subscription is supported)code - the status code of the outcomedescription - a textual description of the outcomeeventTime - the date at which the outcome was decidedmessageState - the current state of the requestapplicationReliable - whether or not the delivery method of the request was application-level reliable (null is possible for
enterprise (BES), since sometimes the delivery method is not always indicated in the outcome)| Method Detail |
|---|
public String getAddress()
public StatusCode getCode()
public String getDescription()
public Date getEventTime()
public MessageState getMessageState()
@Deprecated public boolean isApplicationReliable()
isAppReliable().
public Boolean isAppReliable()
public String toString()
String with all attributes in name = value format.
toString in class ObjectString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||