Class MessageListenerWrapper
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.core.connection.MessageListenerWrapper
- Direct Known Subclasses:
UdpMessageListenerWrapper
Wraps outgoing message and includes listener attached to this message. This object
is sent to OFEncoder. When OFEncoder fails to serialize the message,
listener is filled with exception. The exception is then delegated to upper ODL layers.
- Author:
- michal.polkorab
-
Constructor Summary
ConstructorsConstructorDescriptionMessageListenerWrapper
(Object msg, io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<Void>> listener) Constructor. -
Method Summary
-
Constructor Details
-
Method Details
-
getMsg
Returns the outgoing message.- Returns:
- outgoing message (downstream)
-
getListener
public io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<Void>> getListener()Returns the listener listening on message sending success / failure.- Returns:
- listener listening on message sending success / failure
-