Class VersionMessageWrapper

java.lang.Object
org.opendaylight.openflowjava.protocol.impl.core.VersionMessageWrapper
Direct Known Subclasses:
VersionMessageUdpWrapper

public class VersionMessageWrapper extends Object
Wraps received messages (includes version).
Author:
michal.polkorab
  • Constructor Details

    • VersionMessageWrapper

      public VersionMessageWrapper(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf messageBuffer)
      Constructor.
      Parameters:
      version - version decoded in OFVersionDetector
      messageBuffer - message received from OFFrameDecoder
  • Method Details

    • getVersion

      public org.opendaylight.yangtools.yang.common.Uint8 getVersion()
      Returns the version version decoded in OFVersionDetector.
      Returns:
      the version version decoded in OFVersionDetector
    • getMessageBuffer

      public io.netty.buffer.ByteBuf getMessageBuffer()
      Returns the messageBuffer message received from OFFrameDecoder.
      Returns:
      the messageBuffer message received from OFFrameDecoder