public interface TransportListener
TransportListener interface is implemented by objects
that process incoming messages from TransportMappings, for
example MessageDispatcher.| Modifier and Type | Method and Description |
|---|---|
void |
processMessage(TransportMapping sourceTransport,
Address incomingAddress,
ByteBuffer wholeMessage)
Processes an incoming message.
|
void processMessage(TransportMapping sourceTransport, Address incomingAddress, ByteBuffer wholeMessage)
sourceTransport - a TransportMapping instance denoting the transport that
received the message and that will be used to send any responses to
this message. The sourceTransport has to support the
incomingAddress's implementation class.incomingAddress - the Address from which the message has been received.wholeMessage - an ByteBuffer containing the received message.Copyright © 2014 SNMP4J.org. All rights reserved.