oracle.panama.messaging.transport
Interface MessageListener
- All Superinterfaces:
- Listener
- public interface MessageListener
- extends Listener
The message listener interface. A message listener must register itself to a messenger to receive messages from devices.
Method Summary |
int |
onMessage(java.lang.String address, DeviceInfo info, java.lang.String destination, Message message)
The on-message call-back. |
onMessage
public int onMessage(java.lang.String address,
DeviceInfo info,
java.lang.String destination,
Message message)
- The on-message call-back.
-
- Parameters:
address
- the address of the device the message was from.
info
- the information of the device the message was from.
destination
- the destination address.
message
- the message sent to the listener.
- Returns:
- the processing status.
Copyright © 2004 Oracle Corporation. All Rights Reserved.