org.openflow.vendor.nicira
Class OFRoleRequestVendorData

java.lang.Object
  extended by org.openflow.vendor.nicira.OFNiciraVendorData
      extended by org.openflow.vendor.nicira.OFRoleVendorData
          extended by org.openflow.vendor.nicira.OFRoleRequestVendorData
All Implemented Interfaces:
OFVendorData

public class OFRoleRequestVendorData
extends OFRoleVendorData

Subclass of OFVendorData representing the vendor data associated with a role request vendor extension.

Author:
Rob Vaterlaus (rob.vaterlaus@bigswitch.com)

Field Summary
protected static Instantiable<OFVendorData> instantiable
           
static int NXT_ROLE_REQUEST
          The data type value for a role request
 
Fields inherited from class org.openflow.vendor.nicira.OFRoleVendorData
NX_ROLE_MASTER, NX_ROLE_OTHER, NX_ROLE_SLAVE, role
 
Fields inherited from class org.openflow.vendor.nicira.OFNiciraVendorData
dataType, NX_VENDOR_ID
 
Constructor Summary
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.
 
Method Summary
static Instantiable<OFVendorData> getInstantiable()
           
 
Methods inherited from class org.openflow.vendor.nicira.OFRoleVendorData
getLength, getRole, readFrom, setRole, writeTo
 
Methods inherited from class org.openflow.vendor.nicira.OFNiciraVendorData
getDataType, setDataType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instantiable

protected static Instantiable<OFVendorData> instantiable

NXT_ROLE_REQUEST

public static final int NXT_ROLE_REQUEST
The data type value for a role request

See Also:
Constant Field Values
Constructor Detail

OFRoleRequestVendorData

public OFRoleRequestVendorData()
Construct a role request vendor data with an unspecified role value.


OFRoleRequestVendorData

public OFRoleRequestVendorData(int role)
Construct a role request vendor data with the specified role value.

Parameters:
role - the role value for the role request. Should be one of NX_ROLE_OTHER, NX_ROLE_MASTER or NX_ROLE_SLAVE.
Method Detail

getInstantiable

public static Instantiable<OFVendorData> getInstantiable()
Returns:
a subclass of Instantiable that instantiates an instance of OFRoleRequestVendorData.