Class VersionMessageWrapper
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.core.VersionMessageWrapper
- Direct Known Subclasses:
VersionMessageUdpWrapper
Wraps received messages (includes version).
- Author:
- michal.polkorab
-
Constructor Summary
ConstructorDescriptionVersionMessageWrapper
(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf messageBuffer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBuf
Returns the messageBuffer message received fromOFFrameDecoder
.org.opendaylight.yangtools.yang.common.Uint8
Returns the version version decoded inOFVersionDetector
.
-
Constructor Details
-
VersionMessageWrapper
public VersionMessageWrapper(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf messageBuffer) Constructor.- Parameters:
version
- version decoded inOFVersionDetector
messageBuffer
- message received fromOFFrameDecoder
-
-
Method Details
-
getVersion
public org.opendaylight.yangtools.yang.common.Uint8 getVersion()Returns the version version decoded inOFVersionDetector
.- Returns:
- the version version decoded in
OFVersionDetector
-
getMessageBuffer
public io.netty.buffer.ByteBuf getMessageBuffer()Returns the messageBuffer message received fromOFFrameDecoder
.- Returns:
- the messageBuffer message received from
OFFrameDecoder
-