Class VersionAssignableFactory<T extends org.opendaylight.yangtools.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.binding.DataContainer>
extends Object
implements OFDeserializer<T>
Abstract factory class to support OF protocol version assigning and reading.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignVersion
(@NonNull org.opendaylight.yangtools.yang.common.Uint8 newVersion) Assigns the version.protected final org.opendaylight.yangtools.yang.common.Uint8
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
-
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.
-