net.rim.pushsdk.pap.unmarshal
Class CancelResponse

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

public class CancelResponse
extends PapMessage

Represents the response from a cancel request message.

Author:
mdicesare

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

CancelResponse

public CancelResponse()
Method Detail

getResults

public List<CancelResult> getResults()
Gets the list of results from a cancel request message.

Returns:
the list of results

setResults

public void setResults(List<CancelResult> results)
Sets the list of results from a cancel request message.

Parameters:
results - the list of results

addResult

public void addResult(CancelResult result)
Adds a cancel result to the list of results from a cancel request message.

Parameters:
result - a cancel result

addResults

public void addResults(List<CancelResult> results)
Adds a list of results received from a cancel 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.