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 OFVersionDetector
messageBuffer
- message received from OFFrameDecoder
public short getVersion()
OFVersionDetector
.OFVersionDetector
public io.netty.buffer.ByteBuf getMessageBuffer()
OFFrameDecoder
.OFFrameDecoder
Copyright © 2020 OpenDaylight. All rights reserved.