public class ArpOpcode extends Object implements OFValueType<ArpOpcode>
| Modifier and Type | Field and Description |
|---|---|
static ArpOpcode |
ARP_NAK |
static ArpOpcode |
DRARP_ERROR |
static ArpOpcode |
DRARP_REPLY |
static ArpOpcode |
DRARP_REQUEST |
static ArpOpcode |
FULL_MASK |
static ArpOpcode |
INARP_REPLY |
static ArpOpcode |
INARP_REQUEST |
static ArpOpcode |
MAPOS_UNARP |
static ArpOpcode |
MARS_GROUPLIST_REPLY |
static ArpOpcode |
MARS_GROUPLIST_REQUEST |
static ArpOpcode |
MARS_JOIN |
static ArpOpcode |
MARS_LEAVE |
static ArpOpcode |
MARS_MSERV |
static ArpOpcode |
MARS_MULTI |
static ArpOpcode |
MARS_NAK |
static ArpOpcode |
MARS_REDIRECT_MAP |
static ArpOpcode |
MARS_REQUEST |
static ArpOpcode |
MARS_SJOIN |
static ArpOpcode |
MARS_SLEAVE |
static ArpOpcode |
MARS_UNSERV |
static ArpOpcode |
NO_MASK |
static ArpOpcode |
NONE |
static ArpOpcode |
OP_EXP1 |
static ArpOpcode |
OP_EXP2 |
static ArpOpcode |
REPLY |
static ArpOpcode |
REPLY_REVERSE |
static ArpOpcode |
REQUEST |
static ArpOpcode |
REQUEST_REVERSE |
| Modifier and Type | Method and Description |
|---|---|
ArpOpcode |
applyMask(ArpOpcode mask) |
int |
compareTo(ArpOpcode o) |
boolean |
equals(Object obj) |
int |
getLength() |
int |
getOpcode() |
int |
hashCode() |
static ArpOpcode |
of(int opcode) |
void |
putTo(com.google.common.hash.PrimitiveSink sink)
Dump the state of this object into a
PrimitiveSink (e.g., a Hasher) for the purpose
of computing a strong hash. |
static ArpOpcode |
read2Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write2Bytes(io.netty.buffer.ByteBuf c) |
public static final ArpOpcode REQUEST
public static final ArpOpcode REPLY
public static final ArpOpcode REQUEST_REVERSE
public static final ArpOpcode REPLY_REVERSE
public static final ArpOpcode DRARP_REQUEST
public static final ArpOpcode DRARP_REPLY
public static final ArpOpcode DRARP_ERROR
public static final ArpOpcode INARP_REQUEST
public static final ArpOpcode INARP_REPLY
public static final ArpOpcode ARP_NAK
public static final ArpOpcode MARS_REQUEST
public static final ArpOpcode MARS_MULTI
public static final ArpOpcode MARS_MSERV
public static final ArpOpcode MARS_JOIN
public static final ArpOpcode MARS_LEAVE
public static final ArpOpcode MARS_NAK
public static final ArpOpcode MARS_UNSERV
public static final ArpOpcode MARS_SJOIN
public static final ArpOpcode MARS_SLEAVE
public static final ArpOpcode MARS_GROUPLIST_REQUEST
public static final ArpOpcode MARS_GROUPLIST_REPLY
public static final ArpOpcode MARS_REDIRECT_MAP
public static final ArpOpcode MAPOS_UNARP
public static final ArpOpcode OP_EXP1
public static final ArpOpcode OP_EXP2
public static final ArpOpcode NONE
public static final ArpOpcode NO_MASK
public static final ArpOpcode FULL_MASK
public int getLength()
getLength in interface OFValueType<ArpOpcode>public int getOpcode()
public static ArpOpcode of(int opcode)
public void write2Bytes(io.netty.buffer.ByteBuf c)
public static ArpOpcode read2Bytes(io.netty.buffer.ByteBuf c)
public ArpOpcode applyMask(ArpOpcode mask)
applyMask in interface OFValueType<ArpOpcode>public int compareTo(ArpOpcode o)
compareTo in interface Comparable<ArpOpcode>public void putTo(com.google.common.hash.PrimitiveSink sink)
PrimitiveSinkablePrimitiveSink (e.g., a Hasher) for the purpose
of computing a strong hash.
Equality contract:
Equal objects must dump the equal data into the sink, non-equal objects must dump different
data into the sink. Please see the interface documentation of PrimitiveSink for more
details and caveats/traps.putTo in interface PrimitiveSinkablesink - the sink to dump the object state into.Copyright © 2021. All rights reserved.