Class MessageCodeExperimenterKey
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.api.keys.MessageCodeKey
-
- org.opendaylight.openflowplugin.api.openflow.protocol.deserialization.MessageCodeExperimenterKey
-
- All Implemented Interfaces:
ExperimenterDeserializerKey
- Direct Known Subclasses:
MessageCodeActionExperimenterKey
public class MessageCodeExperimenterKey extends MessageCodeKey implements ExperimenterDeserializerKey
-
-
Constructor Summary
Constructors Constructor Description MessageCodeExperimenterKey(short version, int value, Class<?> clazz, Long experimenterId)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Long
getExperimenterId()
int
hashCode()
String
toString()
-
Methods inherited from class org.opendaylight.openflowjava.protocol.api.keys.MessageCodeKey
getClazz, getMsgType
-
-
-
-
Constructor Detail
-
MessageCodeExperimenterKey
public MessageCodeExperimenterKey(short version, int value, Class<?> clazz, Long experimenterId)
Constructor.- Parameters:
version
- wire protocol versionvalue
- used as distinguisher (read from binary data / buffer)clazz
- class of object that is going to be deserializedexperimenterId
- experimenter id
-
-
Method Detail
-
getExperimenterId
public Long getExperimenterId()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMessageCodeKey
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classMessageCodeKey
-
toString
public String toString()
- Overrides:
toString
in classMessageCodeKey
-
-