|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.messaging.transport.DeviceInfo
The device info contains all information of a device. Among these information, only the delivery type is required. All others properties are optional, when provided, they might be used by the routing algorithm to refine request criteria in an effort to find the best way to deliver the message.
Constructor Summary | |
DeviceInfo() |
Method Summary | |
java.lang.String |
getCarrier() Get the carrier name. |
java.lang.String |
getDeliveryType() Get the delivery type. |
java.lang.String |
getEncoding() Get the encoding. |
java.util.Locale |
getLocale() Get the locale. |
java.lang.String |
getModel() Get the device model. |
java.lang.String |
getProtocol() Get the protocol. |
void |
setCarrier(java.lang.String carrier) Set the carrier name. |
void |
setDeliveryType(java.lang.String type) Set the delivery type. |
void |
setEncoding(java.lang.String encoding) Set the encoding. |
void |
setLocale(java.util.Locale locale) Set the locale. |
void |
setModel(java.lang.String model) Set the device model. |
void |
setProtocol(java.lang.String protocol) Set the protocol. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DeviceInfo()
Method Detail |
public java.lang.String getDeliveryType()
public java.lang.String getModel()
public java.lang.String getCarrier()
public java.lang.String getProtocol()
public java.lang.String getEncoding()
public java.util.Locale getLocale()
public void setDeliveryType(java.lang.String type)
type
- the delivery type.public void setModel(java.lang.String model)
model
- the device model.public void setCarrier(java.lang.String carrier)
carrier
- the carrier name.public void setProtocol(java.lang.String protocol)
protocol
- the protocol.public void setEncoding(java.lang.String encoding)
encoding
- the encoding.public void setLocale(java.util.Locale locale)
locale
- the locale.public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |