|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.push.FailedPushResult
public class FailedPushResult
The result of an attempt to push to a subscriber that failed due to an error on the PPG end. (e.g. the PPG could not be contacted, a duplicate push ID was found, etc.)
IMPORTANT NOTE: This class does NOT represent results for subscribers that the PPG has attempted to deliver to, but were unsuccessful. For a push application with a service level of Push Plus, use result notification to determine the final outcome of a push to a subscriber. Or, use the status query methods, if not using result notification / acknowledgements. The final outcome of a push to a subscriber cannot be determined for a push application with a service level of Push Essentials.
| Constructor Summary | |
|---|---|
FailedPushResult(String subscriberId,
StatusCode code,
String description)
Constructs a failed push result. |
|
| Method Summary | |
|---|---|
StatusCode |
getCode()
Gets the code associated with the failed push attempt. |
String |
getDescription()
Gets the textual description associated with the failed push attempt. |
String |
getSubscriberId()
Gets the id of the subscriber that was attempted to be pushed to (but failed). |
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 FailedPushResult(String subscriberId,
StatusCode code,
String description)
subscriberId - the id of the subscriber that was attempted to be pushed tocode - the failure codedescription - a textual description of the failure code| Method Detail |
|---|
public String getSubscriberId()
public StatusCode getCode()
public String getDescription()
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 | |||||||||