public class VersionMessageWrapper extends Object
| Constructor and Description |
|---|
VersionMessageWrapper(short version,
io.netty.buffer.ByteBuf messageBuffer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
getMessageBuffer()
Returns the messageBuffer message received from
OFFrameDecoder. |
short |
getVersion()
Returns the version version decoded in
OFVersionDetector. |
public VersionMessageWrapper(short version,
io.netty.buffer.ByteBuf messageBuffer)
version - version decoded in OFVersionDetectormessageBuffer - message received from OFFrameDecoderpublic short getVersion()
OFVersionDetector.OFVersionDetectorpublic io.netty.buffer.ByteBuf getMessageBuffer()
OFFrameDecoder.OFFrameDecoderCopyright © 2019 OpenDaylight. All rights reserved.