|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageListener
Implementations of this interface can register within MessageInformer
to receive notifications about
inbound
and
outbound
messages
running through a DPWS framework instance.
Method Summary | |
---|---|
void |
receivedInboundMessage(Message msg,
ProtocolData protocolData)
Called each time an inbound message arrives, which matches the interest of this message listener instance (see MessageSelector ). |
void |
receivedOutboundMessage(Message msg,
ProtocolData protocolData)
Called each time when an outbound message arrives, which matches the interest of this message listener instance (see MessageSelector ). |
Method Detail |
---|
void receivedInboundMessage(Message msg, ProtocolData protocolData)
MessageSelector
). The
implementation should return as quickly as possible.
msg
- the message of interestprotocolData
- transport-specific addressing information attached to
the messagevoid receivedOutboundMessage(Message msg, ProtocolData protocolData)
MessageSelector
).
The implementation should return as quickly as possible.
msg
- the message of interestprotocolData
- transport-specific addressing information attached to
the message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |