public class IPv6FlowLabel extends Object implements OFValueType<IPv6FlowLabel>
| Modifier and Type | Field and Description |
|---|---|
static IPv6FlowLabel |
FULL_MASK |
static IPv6FlowLabel |
NO_MASK |
static IPv6FlowLabel |
NONE |
| Modifier and Type | Method and Description |
|---|---|
IPv6FlowLabel |
applyMask(IPv6FlowLabel mask) |
int |
compareTo(IPv6FlowLabel o) |
boolean |
equals(Object obj) |
int |
getIPv6FlowLabelValue() |
int |
getLength() |
int |
hashCode() |
static IPv6FlowLabel |
of(int label) |
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 IPv6FlowLabel |
read4Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write4Bytes(io.netty.buffer.ByteBuf c) |
public static final IPv6FlowLabel NONE
public static final IPv6FlowLabel NO_MASK
public static final IPv6FlowLabel FULL_MASK
public static IPv6FlowLabel of(int label)
public int getLength()
getLength in interface OFValueType<IPv6FlowLabel>public void write4Bytes(io.netty.buffer.ByteBuf c)
public static IPv6FlowLabel read4Bytes(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseErrorpublic IPv6FlowLabel applyMask(IPv6FlowLabel mask)
applyMask in interface OFValueType<IPv6FlowLabel>public int getIPv6FlowLabelValue()
public int compareTo(IPv6FlowLabel o)
compareTo in interface Comparable<IPv6FlowLabel>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.Copyright © 2020. All rights reserved.