|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.pap.unmarshal.PapMessage
net.rim.pushsdk.pap.unmarshal.PushResponse
public class PushResponse
Represents the response from a push request message.
| Constructor Summary | |
|---|---|
PushResponse()
Default push response constructor. |
|
| Method Summary | |
|---|---|
StatusCode |
getCode()
Gets the status code from the response result associated with the push response. |
String |
getDescription()
Gets the status description from the response result associated with the push response. |
Date |
getReplyTime()
Gets the date and time at which the push response was created. |
ResponseResult |
getResult()
Gets the response result (i.e. |
String |
getSenderAddress()
Gets the address of the PPG that processed the push request. |
String |
getSenderName()
Gets the textual name of the PPG that processed the push request. |
void |
setReplyTime(Date replyTime)
Sets the date and time at which the push response was created. |
void |
setResult(ResponseResult result)
Sets the response result (i.e. |
void |
setSenderAddress(String senderAddress)
Sets the address of the PPG that processed the push request. |
void |
setSenderName(String senderName)
Sets the textual name of the PPG that processed the push request. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class net.rim.pushsdk.pap.unmarshal.PapMessage |
|---|
getPushId, setPushId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PushResponse()
| Method Detail |
|---|
public String getSenderAddress()
public void setSenderAddress(String senderAddress)
senderAddress - the address of the PPGpublic String getSenderName()
public void setSenderName(String senderName)
senderName - the name of the PPGpublic Date getReplyTime()
public void setReplyTime(Date replyTime)
replyTime - the push response's created datepublic ResponseResult getResult()
public void setResult(ResponseResult result)
result - the response resultpublic StatusCode getCode()
public String getDescription()
public String toString()
String with all attributes in name = value format.
toString in class PapMessageString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||