java.lang.Object
org.opendaylight.openflowjava.protocol.impl.deserialization.MessageTypeCodeKey

public class MessageTypeCodeKey extends Object
Class used as a key in DeserializerRegistryImpl.
Author:
michal.polkorab, timotej.kubas
  • Constructor Details

    • MessageTypeCodeKey

      public MessageTypeCodeKey(short msgVersion, short msgType)
      Constructor.
      Parameters:
      msgVersion - protocol version
      msgType - type code of message
  • Method Details

    • getMsgType

      public short getMsgType()
      Returns the msgType.
    • getMsgVersion

      public short getMsgVersion()
      Returns the msgVersion.
    • hashCode

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

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