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 Summary
Constructors Constructor Description VersionAssignableFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assignVersion(@NonNull org.opendaylight.yangtools.yang.common.Uint8 newVersion)
Assigns the version.protected org.opendaylight.yangtools.yang.common.Uint8
getVersion()
Returns the OpenFlow protocol version.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.openflowjava.protocol.api.extensibility.OFDeserializer
deserialize
-
-
-
-
Method Detail
-
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.
-
-