public class OFRoleReplyVendorData extends OFRoleVendorData
Modifier and Type | Field and Description |
---|---|
protected static Instantiable<OFVendorData> |
instantiable |
static int |
NXT_ROLE_REPLY
The data type value for a role reply
|
NX_ROLE_MASTER, NX_ROLE_OTHER, NX_ROLE_SLAVE, role
dataType, NX_VENDOR_ID
Constructor and Description |
---|
OFRoleReplyVendorData()
Construct a role reply vendor data with an unspecified role value.
|
OFRoleReplyVendorData(int role)
Construct a role reply vendor data with the specified role value.
|
Modifier and Type | Method and Description |
---|---|
static Instantiable<OFVendorData> |
getInstantiable() |
getLength, getRole, readFrom, setRole, writeTo
getDataType, setDataType
protected static Instantiable<OFVendorData> instantiable
public static final int NXT_ROLE_REPLY
public OFRoleReplyVendorData()
public OFRoleReplyVendorData(int role)
role
- the role value for the role reply. Should be one of
NX_ROLE_OTHER, NX_ROLE_MASTER or NX_ROLE_SLAVE.public static Instantiable<OFVendorData> getInstantiable()
Copyright © 2015. All rights reserved.