public class OFConnectionIndex extends Object implements OFValueType<OFConnectionIndex>
| Modifier and Type | Method and Description |
|---|---|
OFConnectionIndex |
applyMask(OFConnectionIndex mask) |
int |
compareTo(OFConnectionIndex o) |
boolean |
equals(Object obj) |
int |
getLength() |
int |
hashCode() |
static OFConnectionIndex |
of(int connectionIndex) |
void |
putTo(com.google.common.hash.PrimitiveSink sink)
Dump the state of this object into a
PrimitiveSink (e.g., a Hasher) for the purpose
of computing a strong hash. |
static OFConnectionIndex |
read4Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write4Bytes(io.netty.buffer.ByteBuf c) |
public static OFConnectionIndex of(int connectionIndex)
public void write4Bytes(io.netty.buffer.ByteBuf c)
public static OFConnectionIndex read4Bytes(io.netty.buffer.ByteBuf c)
public OFConnectionIndex applyMask(OFConnectionIndex mask)
applyMask in interface OFValueType<OFConnectionIndex>public int compareTo(OFConnectionIndex o)
compareTo in interface Comparable<OFConnectionIndex>public void putTo(com.google.common.hash.PrimitiveSink sink)
PrimitiveSinkablePrimitiveSink (e.g., a Hasher) for the purpose
of computing a strong hash.
Equality contract:
Equal objects must dump the equal data into the sink, non-equal objects must dump different
data into the sink. Please see the interface documentation of PrimitiveSink for more
details and caveats/traps.putTo in interface PrimitiveSinkablesink - the sink to dump the object state into.public int getLength()
getLength in interface OFValueType<OFConnectionIndex>Copyright © 2021. All rights reserved.