|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.panama.messaging.transport.Address
The address contains information of a destination device. This class is used by Transport to pass device address information to a Transport driver. Attribute message id is the unique message id assigned to this message by Transport. Driver can use this message to generate the return message id from the send() method. The return message id from the send() method is actually should be the message id assigned to the message by the server gateway the driver connects to. However, some gateway may not be able to assign id for accepted message.
DeliveryModes
, XDriver, Profile
Constructor Summary | |
Address() Constructor. |
Method Summary | |
java.lang.String |
getAddress() Get the adress of the device. |
int |
getDeliveryMode() Get the delivery mode |
java.lang.String |
getDeliveryType() Get the delivery type for the device. |
void |
setAddress(java.lang.String address) Set the address of the device. |
void |
setDeliveryMode(int mode) Set the deliver mode of the message. |
void |
setDeliveryType(java.lang.String dtype) Set the delivery type for the device. |
void |
setMessageId(java.lang.String mid) Set the id of the message. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Address()
Method Detail |
public java.lang.String getAddress()
public int getDeliveryMode()
public java.lang.String getDeliveryType()
public void setAddress(java.lang.String address)
address
- the device address.public void setDeliveryMode(int mode)
mode
- the message deliver mode.public void setDeliveryType(java.lang.String dtype)
dtype
- the delviery type for the device.public void setMessageId(java.lang.String mid)
mid
- the message id.
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |