net.rim.pushsdk.pap.unmarshal
Class StatusQueryResponse

java.lang.Object
  extended by net.rim.pushsdk.pap.unmarshal.PapMessage
      extended by net.rim.pushsdk.pap.unmarshal.StatusQueryResponse

public class StatusQueryResponse
extends PapMessage

Represents the response from a status query request message.

Author:
mdicesare

Constructor Summary
StatusQueryResponse()
           
 
Method Summary
 void addResult(StatusQueryResult result)
          Adds a status query result to the list of results from a status query request message.
 void addResults(List<StatusQueryResult> results)
          Adds a list of results received from a status query request message.
 List<StatusQueryResult> getResults()
          Gets the list of results from a status query request message.
 void setResults(List<StatusQueryResult> results)
          Sets the list of results from a status query request message.
 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

StatusQueryResponse

public StatusQueryResponse()
Method Detail

getResults

public List<StatusQueryResult> getResults()
Gets the list of results from a status query request message.

Returns:
the list of results

setResults

public void setResults(List<StatusQueryResult> results)
Sets the list of results from a status query request message.

Parameters:
results - the list of results

addResult

public void addResult(StatusQueryResult result)
Adds a status query result to the list of results from a status query request message.

Parameters:
result - a status query result

addResults

public void addResults(List<StatusQueryResult> results)
Adds a list of results received from a status query request message.

Parameters:
results - the list of results

toString

public String toString()
Constructs a String with all attributes in name = value format.

Overrides:
toString in class PapMessage
Returns:
a String representation of this object.


Copyright © 2011 Research In Motion. All Rights Reserved.