net.rim.pushsdk.pap.unmarshal
Class PapMessage

java.lang.Object
  extended by net.rim.pushsdk.pap.unmarshal.PapMessage
Direct Known Subclasses:
BadMessageResponse, CancelResponse, PushResponse, ResultNotification, StatusQueryResponse

public class PapMessage
extends Object

Base class for PAP messages used by the unmarshaller.

Author:
mdicesare

Constructor Summary
PapMessage()
           
 
Method Summary
 String getPushId()
          Gets the push id associated with the PAP message.
 void setPushId(String pushId)
          Sets the push id associated with the PAP message.
 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

PapMessage

public PapMessage()
Method Detail

getPushId

public String getPushId()
Gets the push id associated with the PAP message.

Returns:
the push id

setPushId

public void setPushId(String pushId)
Sets the push id associated with the PAP message.

Parameters:
pushId - the push id

toString

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

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


Copyright © 2011 Research In Motion. All Rights Reserved.