Class ExperimenterIdSerializerKey<T extends org.opendaylight.yangtools.binding.DataContainer>

java.lang.Object
org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey<T>
org.opendaylight.openflowjava.protocol.api.keys.ExperimenterIdSerializerKey<T>
Type Parameters:
T - class of object to be serialized
All Implemented Interfaces:
ExperimenterSerializerKey
Direct Known Subclasses:
ExperimenterIdMeterSubTypeSerializerKey, ExperimenterIdTypeSerializerKey

public class ExperimenterIdSerializerKey<T extends org.opendaylight.yangtools.binding.DataContainer> extends MessageTypeKey<T> implements ExperimenterSerializerKey
Key for an experimenter id serializer.
Author:
michal.polkorab
  • Constructor Details

    • ExperimenterIdSerializerKey

      public ExperimenterIdSerializerKey(org.opendaylight.yangtools.yang.common.Uint8 msgVersion, org.opendaylight.yangtools.yang.common.Uint32 experimenterId, Class<T> objectClass)
      Constructor.
      Parameters:
      msgVersion - protocol wire version
      experimenterId - experimenter / vendor ID
      objectClass - class of object to be serialized
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class MessageTypeKey<T extends org.opendaylight.yangtools.binding.DataContainer>
    • hashCodeOfLong

      protected int hashCodeOfLong(long longValue)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class MessageTypeKey<T extends org.opendaylight.yangtools.binding.DataContainer>
    • toString

      public String toString()
      Overrides:
      toString in class MessageTypeKey<T extends org.opendaylight.yangtools.binding.DataContainer>