Class MessageCodeKey

java.lang.Object
org.opendaylight.openflowjava.protocol.api.keys.MessageCodeKey
Direct Known Subclasses:
ActionDeserializerKey, EnhancedMessageCodeKey, ExperimenterIdDeserializerKey, InstructionDeserializerKey, MatchEntryDeserializerKey, MessageCodeExperimenterKey, MessageCodeMatchKey

public class MessageCodeKey extends Object
Key for a message code.
Author:
michal.polkorab
  • Constructor Details

    • MessageCodeKey

      public MessageCodeKey(org.opendaylight.yangtools.yang.common.Uint8 version, int value, Class<?> clazz)
      Constructor.
      Parameters:
      version - wire protocol version
      value - used as distinguisher (read from binary data / buffer)
      clazz - class of object that is going to be deserialized
  • Method Details

    • getMsgType

      public int getMsgType()
    • getClazz

      public Class<?> getClazz()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object