|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.query.subscription.SubscriptionQueryMessage
net.rim.pushsdk.query.subscription.SubscriptionQueryRequest
net.rim.pushsdk.query.subscription.SubQueryRequestByAddress
public class SubQueryRequestByAddress
Represents a subscription query request by address to the PPG.
| Field Summary |
|---|
| Fields inherited from class net.rim.pushsdk.query.subscription.SubscriptionQueryRequest |
|---|
QUERY_REQUEST_TAG |
| Fields inherited from class net.rim.pushsdk.query.subscription.SubscriptionQueryMessage |
|---|
ADDRESS_ATTR, ADDRESS_TAG, CURRENT_MSG_VERSION, EVENT_TIME_ATTR, PUSHAPP_ID_ATTR, pushApplicationId, QUERY_OUTERMOST_TAG, VERSION_ATTR |
| Constructor Summary | |
|---|---|
SubQueryRequestByAddress(String pushApplicationId,
Set<String> addresses)
Constructs a subscription query request message for the given push application and with the given list of addresses. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if two subscription query request messages (by address) are found to be equal and false otherwise. |
Set<String> |
getAddresses()
Gets the addresses e.g. |
void |
getContent(ByteArrayOutputStream out)
Writes content to the specified output stream. |
int |
hashCode()
Returns a hashcode for this subscription query request message (by address). |
void |
setAddresses(Set<String> addresses)
Sets the addresses (e.g. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class net.rim.pushsdk.query.subscription.SubscriptionQueryRequest |
|---|
marshal |
| Methods inherited from class net.rim.pushsdk.query.subscription.SubscriptionQueryMessage |
|---|
getPushApplicationId, setPushApplicationId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubQueryRequestByAddress(String pushApplicationId,
Set<String> addresses)
pushApplicationId - the push application idaddresses - the list of addresses (e.g. PINs)| Method Detail |
|---|
public Set<String> getAddresses()
public void setAddresses(Set<String> addresses)
addresses - the list of addresses
public void getContent(ByteArrayOutputStream out)
throws IOException
SubscriptionQueryRequest
getContent in class SubscriptionQueryRequestout - the output stream
IOException - if any IO errors occur while writing to the output streampublic int hashCode()
hashCode in class SubscriptionQueryMessagepublic boolean equals(Object obj)
equals in class SubscriptionQueryMessagepublic String toString()
String with all attributes in name = value format.
toString in class SubscriptionQueryMessageString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||