public class TransportPort extends Object implements OFValueType<TransportPort>
| Modifier and Type | Field and Description |
|---|---|
static TransportPort |
FULL_MASK |
static TransportPort |
NO_MASK |
static TransportPort |
NONE |
| Modifier and Type | Method and Description |
|---|---|
TransportPort |
applyMask(TransportPort mask) |
int |
compareTo(TransportPort o) |
boolean |
equals(Object obj) |
int |
getLength() |
int |
getPort() |
int |
hashCode() |
static TransportPort |
of(int port) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static TransportPort |
read2Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write2Bytes(io.netty.buffer.ByteBuf c) |
public static final TransportPort NONE
public static final TransportPort NO_MASK
public static final TransportPort FULL_MASK
public static TransportPort of(int port)
public int getLength()
getLength in interface OFValueType<TransportPort>public int getPort()
public void write2Bytes(io.netty.buffer.ByteBuf c)
public static TransportPort read2Bytes(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseErrorpublic TransportPort applyMask(TransportPort mask)
applyMask in interface OFValueType<TransportPort>public int compareTo(TransportPort o)
compareTo in interface Comparable<TransportPort>public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo in interface PrimitiveSinkableCopyright © 2017. All rights reserved.