Class ExperimenterIdSerializerKey<T extends org.opendaylight.yangtools.yang.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.yang.binding.DataContainer> extends MessageTypeKey<T> implements ExperimenterSerializerKey
Key for an experimenter id serializer.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description ExperimenterIdSerializerKey(org.opendaylight.yangtools.yang.common.Uint8 msgVersion, org.opendaylight.yangtools.yang.common.Uint32 experimenterId, Class<T> objectClass)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
protected int
hashCodeOfLong(long longValue)
String
toString()
-
-
-
Constructor Detail
-
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 versionexperimenterId
- experimenter / vendor IDobjectClass
- class of object to be serialized
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMessageTypeKey<T extends org.opendaylight.yangtools.yang.binding.DataContainer>
-
hashCodeOfLong
protected int hashCodeOfLong(long longValue)
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classMessageTypeKey<T extends org.opendaylight.yangtools.yang.binding.DataContainer>
-
toString
public String toString()
- Overrides:
toString
in classMessageTypeKey<T extends org.opendaylight.yangtools.yang.binding.DataContainer>
-
-