|
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.Destination
The destination contains all information of a destination device. It's not just an address. Among these information, address, message info and device info are required, all others are optional. Fail-over is not implemented in current release yet.
Constructor Summary | |
Destination() |
Method Summary | |
java.lang.String |
getAddress() Get the adress of the device. |
int |
getDeliveryMode() Get the deliver mode of the message. |
DeviceInfo |
getDeviceInfo() Get the info of the device. |
java.lang.String |
getDriver() Get the driver for the destination. |
Destination |
getFailOverDestination() Get the fail-over destination. |
MessageInfo |
getMessageInfo() Get the info of the message. |
void |
setAddress(java.lang.String address) Set the address of the device. |
void |
setDeliveryMode(int mode) Set the deliver mode of the message. |
void |
setDeviceInfo(DeviceInfo info) Set the info of the device. |
void |
setDriver(java.lang.String driver) Set the driver for the destination. |
void |
setFailOverDestination(Destination dest) Set the fail-over destination. |
void |
setMessageInfo(MessageInfo info) Set the info of the message. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Destination()
Method Detail |
public java.lang.String getAddress()
public int getDeliveryMode()
public DeviceInfo getDeviceInfo()
public java.lang.String getDriver()
public Destination getFailOverDestination()
public MessageInfo getMessageInfo()
public void setAddress(java.lang.String address)
address
- the device address.public void setDeliveryMode(int mode)
mode
- the message deliver mode.public void setDeviceInfo(DeviceInfo info)
info
- the device info.public void setDriver(java.lang.String driver)
driver
- the name of the driver to use.public void setFailOverDestination(Destination dest)
dest
- the fail-over destination.public void setMessageInfo(MessageInfo info)
info
- the message info.
|
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 |