public class ICMPv4Code extends Object implements OFValueType<ICMPv4Code>
Modifier and Type | Field and Description |
---|---|
static ICMPv4Code |
FULL_MASK |
static ICMPv4Code |
NO_MASK |
static ICMPv4Code |
NONE |
Modifier and Type | Method and Description |
---|---|
ICMPv4Code |
applyMask(ICMPv4Code mask) |
int |
compareTo(ICMPv4Code o) |
boolean |
equals(Object obj) |
short |
getCode() |
int |
getLength() |
int |
hashCode() |
static ICMPv4Code |
of(short code) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static ICMPv4Code |
readByte(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
writeByte(io.netty.buffer.ByteBuf c) |
public static final ICMPv4Code NONE
public static final ICMPv4Code NO_MASK
public static final ICMPv4Code FULL_MASK
public static ICMPv4Code of(short code)
public int getLength()
getLength
in interface OFValueType<ICMPv4Code>
public short getCode()
public void writeByte(io.netty.buffer.ByteBuf c)
public static ICMPv4Code readByte(io.netty.buffer.ByteBuf c)
public ICMPv4Code applyMask(ICMPv4Code mask)
applyMask
in interface OFValueType<ICMPv4Code>
public int compareTo(ICMPv4Code o)
compareTo
in interface Comparable<ICMPv4Code>
public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo
in interface PrimitiveSinkable
Copyright © 2015. All rights reserved.