public class TableId extends Object implements OFValueType<TableId>, Comparable<TableId>
| Modifier and Type | Field and Description |
|---|---|
static TableId |
ALL |
static TableId |
NONE |
static TableId |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
TableId |
applyMask(TableId mask) |
int |
compareTo(TableId other) |
boolean |
equals(Object obj) |
int |
getLength() |
short |
getValue() |
int |
hashCode() |
static TableId |
of(int id) |
static TableId |
of(short id) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static TableId |
readByte(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
writeByte(io.netty.buffer.ByteBuf c) |
public static final TableId NONE
public static final TableId ALL
public static final TableId ZERO
public static TableId of(short id)
public static TableId of(int id)
public short getValue()
public int getLength()
getLength in interface OFValueType<TableId>public void writeByte(io.netty.buffer.ByteBuf c)
public static TableId readByte(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseErrorpublic TableId applyMask(TableId mask)
applyMask in interface OFValueType<TableId>public int compareTo(TableId other)
compareTo in interface Comparable<TableId>public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo in interface PrimitiveSinkableCopyright © 2017. All rights reserved.