public class OFFeaturesReply extends OFMessage
Modifier and Type | Class and Description |
---|---|
static class |
OFFeaturesReply.OFCapabilities
Corresponds to bits on the capabilities field
|
Modifier and Type | Field and Description |
---|---|
protected int |
actions |
protected int |
buffers |
protected int |
capabilities |
protected long |
datapathId |
static int |
MINIMUM_LENGTH |
protected List<OFPhysicalPort> |
ports |
protected byte |
tables |
Constructor and Description |
---|
OFFeaturesReply() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getActions() |
int |
getBuffers() |
int |
getCapabilities() |
long |
getDatapathId() |
List<OFPhysicalPort> |
getPorts() |
byte |
getTables() |
int |
hashCode() |
void |
readFrom(org.jboss.netty.buffer.ChannelBuffer data)
Read this message off the wire from the specified ByteBuffer
|
void |
setActions(int actions) |
void |
setBuffers(int buffers) |
void |
setCapabilities(int capabilities) |
void |
setDatapathId(long datapathId) |
void |
setPorts(List<OFPhysicalPort> ports) |
void |
setTables(byte tables) |
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, toString
public static int MINIMUM_LENGTH
protected long datapathId
protected int buffers
protected byte tables
protected int capabilities
protected int actions
protected List<OFPhysicalPort> ports
public long getDatapathId()
public void setDatapathId(long datapathId)
datapathId
- the datapathId to setpublic int getBuffers()
public void setBuffers(int buffers)
buffers
- the buffers to setpublic byte getTables()
public void setTables(byte tables)
tables
- the tables to setpublic int getCapabilities()
public void setCapabilities(int capabilities)
capabilities
- the capabilities to setpublic int getActions()
public void setActions(int actions)
actions
- the actions to setpublic List<OFPhysicalPort> getPorts()
public void setPorts(List<OFPhysicalPort> ports)
ports
- the ports to setpublic void readFrom(org.jboss.netty.buffer.ChannelBuffer data)
OFMessage
public void writeTo(org.jboss.netty.buffer.ChannelBuffer data)
OFMessage
Copyright © 2015. All rights reserved.