Class VersionAssignableFactory<T extends org.opendaylight.yangtools.yang.binding.DataContainer>

java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.VersionAssignableFactory<T>
All Implemented Interfaces:
OFDeserializer<T>, OFGeneralDeserializer
Direct Known Subclasses:
BarrierInputMessageFactory, BarrierReplyMessageFactory, EchoReplyMessageFactory, EchoRequestMessageFactory, GetConfigInputMessageFactory, GetConfigReplyMessageFactory, HelloMessageFactory, SetConfigInputMessageFactory

public abstract class VersionAssignableFactory<T extends org.opendaylight.yangtools.yang.binding.DataContainer> extends Object implements OFDeserializer<T>
Abstract factory class to support OF protocol version assigning and reading.
  • Constructor Details

    • VersionAssignableFactory

      public VersionAssignableFactory()
  • Method Details

    • assignVersion

      public void assignVersion(@NonNull org.opendaylight.yangtools.yang.common.Uint8 newVersion)
      Assigns the version.
      Parameters:
      newVersion - OpenFlow protocol version
    • getVersion

      protected final org.opendaylight.yangtools.yang.common.Uint8 getVersion()
      Returns the OpenFlow protocol version.