public class OFControllerRoleSerializerVer13 extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ROLE_EQUAL_VAL |
static int |
ROLE_MASTER_VAL |
static int |
ROLE_NOCHANGE_VAL |
static int |
ROLE_SLAVE_VAL |
Constructor and Description |
---|
OFControllerRoleSerializerVer13() |
Modifier and Type | Method and Description |
---|---|
static OFControllerRole |
ofWireValue(int val) |
static void |
putTo(OFControllerRole e,
com.google.common.hash.PrimitiveSink sink) |
static OFControllerRole |
readFrom(io.netty.buffer.ByteBuf bb) |
static int |
toWireValue(OFControllerRole e) |
static void |
writeTo(io.netty.buffer.ByteBuf bb,
OFControllerRole e) |
public static final int ROLE_NOCHANGE_VAL
public static final int ROLE_EQUAL_VAL
public static final int ROLE_MASTER_VAL
public static final int ROLE_SLAVE_VAL
public static OFControllerRole readFrom(io.netty.buffer.ByteBuf bb) throws OFParseError
OFParseError
public static void writeTo(io.netty.buffer.ByteBuf bb, OFControllerRole e)
public static void putTo(OFControllerRole e, com.google.common.hash.PrimitiveSink sink)
public static OFControllerRole ofWireValue(int val)
public static int toWireValue(OFControllerRole e)
Copyright © 2015. All rights reserved.