public class OFRoleRequestVendorData extends OFRoleVendorData
Modifier and Type | Field and Description |
---|---|
protected static Instantiable<OFVendorData> |
instantiable |
static int |
NXT_ROLE_REQUEST
The data type value for a role request
|
NX_ROLE_MASTER, NX_ROLE_OTHER, NX_ROLE_SLAVE, role
dataType, NX_VENDOR_ID
Constructor and Description |
---|
OFRoleRequestVendorData()
Construct a role request vendor data with an unspecified role value.
|
OFRoleRequestVendorData(int role)
Construct a role request 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_REQUEST
public OFRoleRequestVendorData()
public OFRoleRequestVendorData(int role)
role
- the role value for the role request. Should be one of
NX_ROLE_OTHER, NX_ROLE_MASTER or NX_ROLE_SLAVE.public static Instantiable<OFVendorData> getInstantiable()
Copyright © 2015. All rights reserved.