|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.pap.control.QualityOfService
public class QualityOfService
Represents the quality of service attributes for a PAP push message.
| Constructor Summary | |
|---|---|
QualityOfService()
Default quality of service constructor. |
|
| Method Summary | |
|---|---|
String |
getBearer()
Gets the bearer associated with the quality of service. |
DeliveryMethod |
getDeliveryMethod()
Gets the delivery method associated with the quality of service. |
boolean |
isBearerRequired()
Whether or not the bearer is required. |
String |
print()
Returns a string containing the quality of service wrapped in PAP XML tags. |
void |
setBearer(String bearer)
Sets the bearer associated with the quality of service. |
void |
setBearerRequired(boolean bearerRequired)
Sets whether the bearer is required or not. |
void |
setDeliveryMethod(DeliveryMethod deliveryMethod)
Sets the delivery method associated with the quality of service. |
String |
toString()
Constructs a String with all attributes in name = value format. |
void |
validateForPush()
Validate the following for a push message's quality of service: - The delivery method is not null |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QualityOfService()
NOTSPECIFIED.
| Method Detail |
|---|
public DeliveryMethod getDeliveryMethod()
public void setDeliveryMethod(DeliveryMethod deliveryMethod)
deliveryMethod - the delivery methodpublic String getBearer()
public void setBearer(String bearer)
bearer - the bearerpublic boolean isBearerRequired()
public void setBearerRequired(boolean bearerRequired)
bearerRequired - true if the bearer is required; false otherwisepublic String print()
public void validateForPush()
public String toString()
String with all attributes in name = value format.
toString in class ObjectString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||