public class CircuitSignalID extends Object implements OFValueType<CircuitSignalID>
| Modifier and Type | Field and Description |
|---|---|
static CircuitSignalID |
NONE |
| Constructor and Description |
|---|
CircuitSignalID(byte gridType,
byte channelSpacing,
short channelNumber,
short spectralWidth) |
| Modifier and Type | Method and Description |
|---|---|
CircuitSignalID |
applyMask(CircuitSignalID mask) |
int |
compareTo(CircuitSignalID o) |
boolean |
equals(Object o) |
short |
getChannelNumber() |
byte |
getChannelSpacing() |
byte |
getGridType() |
int |
getLength() |
short |
getSpectralWidth() |
int |
hashCode() |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static CircuitSignalID |
read6Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write6Bytes(io.netty.buffer.ByteBuf c) |
public static final CircuitSignalID NONE
public CircuitSignalID(byte gridType,
byte channelSpacing,
short channelNumber,
short spectralWidth)
public int getLength()
getLength in interface OFValueType<CircuitSignalID>public byte getGridType()
public byte getChannelSpacing()
public short getChannelNumber()
public short getSpectralWidth()
public void write6Bytes(io.netty.buffer.ByteBuf c)
public static CircuitSignalID read6Bytes(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseErrorpublic CircuitSignalID applyMask(CircuitSignalID mask)
applyMask in interface OFValueType<CircuitSignalID>public int compareTo(CircuitSignalID o)
compareTo in interface Comparable<CircuitSignalID>public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo in interface PrimitiveSinkableCopyright © 2017. All rights reserved.