|
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 |
The general hook interface. The general hook is designed for logging, filtering, billing and other general purposes. If the message is modified, the modification should be effective for all related devices, instead just one of them.
Method Summary | |
void |
destroy() Destroy the hook. |
void |
init(java.util.Properties properties) Initialize the hook. |
void |
onMessage(Destination[] devices, SenderInfo[] sis, Message message) The multiple-device on-message hook. |
void |
onMessage(Destination device, SenderInfo si, Message message) The single-device on-message hook. |
Method Detail |
public void destroy()
public void init(java.util.Properties properties)
properties
- the hook's properties.public void onMessage(Destination[] devices, SenderInfo[] sis, Message message)
devices
- the devices related to the message.sis
- the senders' information.message
- the message.public void onMessage(Destination device, SenderInfo si, Message message)
device
- the device related to the message.si
- the sender information.message
- the message.
|
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 |