|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.action.OFAction
org.openflow.protocol.action.OFActionOutput
public class OFActionOutput
| Field Summary | |
|---|---|
protected short |
maxLength
|
static int |
MINIMUM_LENGTH
|
protected static short |
OFPCML_MAX
|
protected static short |
OFPCML_NO_BUFFER
|
protected static short |
OFPCML_ZERO
|
protected int |
portNumber
|
| Fields inherited from class org.openflow.protocol.action.OFAction |
|---|
length, OFFSET_LENGTH, OFFSET_TYPE, type |
| Constructor Summary | |
|---|---|
OFActionOutput()
|
|
OFActionOutput(int portNumber)
|
|
OFActionOutput(int portNumber,
short maxLength)
|
|
OFActionOutput(OFPhysicalPort port)
|
|
OFActionOutput(OFPhysicalPort port,
short maxLength)
|
|
OFActionOutput(OFPort port)
|
|
OFActionOutput(OFPort port,
short maxLength)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
short |
getMaxLength()
Get the max length to send to the controller |
int |
getPort()
Get the output portNumber |
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
|
OFActionOutput |
setMaxLength(short maxLength)
Set the max length to send to the controller |
OFActionOutput |
setPort(int portNumber)
Set the output portNumber |
OFActionOutput |
setPort(OFPort ofPort)
Set the output portNumber |
java.lang.String |
toString()
Returns a summary of the message |
void |
writeTo(java.nio.ByteBuffer data)
|
| Methods inherited from class org.openflow.protocol.action.OFAction |
|---|
clone, fromString, getLength, getLengthU, getType, setLength, setType |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int MINIMUM_LENGTH
protected static short OFPCML_ZERO
protected static short OFPCML_MAX
protected static short OFPCML_NO_BUFFER
protected int portNumber
protected short maxLength
| Constructor Detail |
|---|
public OFActionOutput()
public OFActionOutput(int portNumber)
public OFActionOutput(int portNumber,
short maxLength)
public OFActionOutput(OFPort port)
public OFActionOutput(OFPort port,
short maxLength)
public OFActionOutput(OFPhysicalPort port)
public OFActionOutput(OFPhysicalPort port,
short maxLength)
| Method Detail |
|---|
public int getPort()
public OFActionOutput setPort(int portNumber)
portNumber - public OFActionOutput setPort(OFPort ofPort)
OFPort - typepublic short getMaxLength()
public OFActionOutput setMaxLength(short maxLength)
maxLength - public void readFrom(java.nio.ByteBuffer data)
readFrom in class OFActionpublic void writeTo(java.nio.ByteBuffer data)
writeTo in class OFActionpublic int hashCode()
hashCode in class OFActionpublic boolean equals(java.lang.Object obj)
equals in class OFActionpublic java.lang.String toString()
OFAction
toString in class OFAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||