public class OFVendor extends OFMessage implements OFVendorDataFactoryAware
| Modifier and Type | Field and Description |
|---|---|
static int |
MINIMUM_LENGTH |
protected int |
vendor |
protected OFVendorData |
vendorData |
protected OFVendorDataFactory |
vendorDataFactory |
| Constructor and Description |
|---|
OFVendor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getVendor() |
OFVendorData |
getVendorData() |
int |
hashCode() |
void |
readFrom(org.jboss.netty.buffer.ChannelBuffer data)
Read this message off the wire from the specified ByteBuffer
|
void |
setVendor(int vendor) |
void |
setVendorData(OFVendorData vendorData) |
void |
setVendorDataFactory(OFVendorDataFactory vendorDataFactory) |
void |
writeTo(org.jboss.netty.buffer.ChannelBuffer data)
Write this message's binary format to the specified ByteBuffer
|
getData, getDataAsString, getLength, getLengthU, getMessageStore, getType, getVersion, getXid, setLength, setLengthU, setType, setVersion, setXid, toStringpublic static int MINIMUM_LENGTH
protected int vendor
protected OFVendorData vendorData
protected OFVendorDataFactory vendorDataFactory
public int getVendor()
public void setVendor(int vendor)
vendor - the vendor to setpublic OFVendorData getVendorData()
public void setVendorData(OFVendorData vendorData)
data - the data to setpublic void setVendorDataFactory(OFVendorDataFactory vendorDataFactory)
setVendorDataFactory in interface OFVendorDataFactoryAwarepublic void readFrom(org.jboss.netty.buffer.ChannelBuffer data)
OFMessagepublic void writeTo(org.jboss.netty.buffer.ChannelBuffer data)
OFMessageCopyright © 2015. All rights reserved.