public class VlanPcp extends Object implements OFValueType<VlanPcp>
Modifier and Type | Field and Description |
---|---|
static VlanPcp |
FULL_MASK |
static VlanPcp |
NO_MASK |
static VlanPcp |
NONE |
Modifier and Type | Method and Description |
---|---|
VlanPcp |
applyMask(VlanPcp mask) |
int |
compareTo(VlanPcp o) |
boolean |
equals(Object obj) |
int |
getLength() |
byte |
getValue() |
int |
hashCode() |
static VlanPcp |
of(byte pcp) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static VlanPcp |
readByte(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
writeByte(io.netty.buffer.ByteBuf c) |
public static final VlanPcp NONE
public static final VlanPcp NO_MASK
public static final VlanPcp FULL_MASK
public static VlanPcp of(byte pcp)
public byte getValue()
public int getLength()
getLength
in interface OFValueType<VlanPcp>
public void writeByte(io.netty.buffer.ByteBuf c)
public static VlanPcp readByte(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseError
public VlanPcp applyMask(VlanPcp mask)
applyMask
in interface OFValueType<VlanPcp>
public int compareTo(VlanPcp o)
compareTo
in interface Comparable<VlanPcp>
public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo
in interface PrimitiveSinkable
Copyright © 2015. All rights reserved.