org.openflow.vendor.nicira
Class OFRoleReplyVendorData

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

public class OFRoleReplyVendorData
extends OFRoleVendorData

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

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

Field Summary
protected static Instantiable<OFVendorData> instantiable
           
static int NXT_ROLE_REPLY
          The data type value for a role reply
 
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
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.
 
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_REPLY

public static final int NXT_ROLE_REPLY
The data type value for a role reply

See Also:
Constant Field Values
Constructor Detail

OFRoleReplyVendorData

public OFRoleReplyVendorData()
Construct a role reply vendor data with an unspecified role value.


OFRoleReplyVendorData

public OFRoleReplyVendorData(int role)
Construct a role reply vendor data with the specified role value.

Parameters:
role - the role value for the role reply. 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 OFRoleReplyVendorData.