public class VFI extends Object implements OFValueType<VFI>
Modifier and Type | Field and Description |
---|---|
static VFI |
FULL_MASK |
static VFI |
NO_MASK
for use with masking operations
|
static VFI |
ZERO |
Modifier and Type | Method and Description |
---|---|
VFI |
applyMask(VFI mask) |
int |
compareTo(VFI o) |
boolean |
equals(Object obj) |
int |
getLength() |
short |
getVfi() |
int |
hashCode() |
static VFI |
ofVfi(int vfi) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static VFI |
read2Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write2Bytes(io.netty.buffer.ByteBuf c) |
public static final VFI ZERO
public static final VFI NO_MASK
public static final VFI FULL_MASK
public static VFI ofVfi(int vfi)
public short getVfi()
public int getLength()
getLength
in interface OFValueType<VFI>
public void write2Bytes(io.netty.buffer.ByteBuf c)
public static VFI read2Bytes(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseError
public VFI applyMask(VFI mask)
applyMask
in interface OFValueType<VFI>
public int compareTo(VFI o)
compareTo
in interface Comparable<VFI>
public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo
in interface PrimitiveSinkable
Copyright © 2016. All rights reserved.