|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.OFMessage
org.openflow.protocol.OFFlowRemoved
public class OFFlowRemoved
Represents an ofp_flow_removed message
Nested Class Summary | |
---|---|
static class |
OFFlowRemoved.OFFlowRemovedReason
|
Field Summary | |
---|---|
protected long |
byteCount
|
protected long |
cookie
|
protected int |
durationNanoseconds
|
protected int |
durationSeconds
|
protected short |
hardTimeout
|
protected short |
idleTimeout
|
protected OFMatch |
match
|
static int |
MINIMUM_LENGTH
|
protected long |
packetCount
|
protected short |
priority
|
protected OFFlowRemoved.OFFlowRemovedReason |
reason
|
protected byte |
tableId
|
Fields inherited from class org.openflow.protocol.OFMessage |
---|
length, OFP_VERSION, type, version, xid |
Constructor Summary | |
---|---|
OFFlowRemoved()
|
Method Summary | |
---|---|
void |
computeLength()
This method is called during the writeTo method for serialization and is expected to set the length of the message. |
boolean |
equals(java.lang.Object obj)
|
long |
getByteCount()
|
long |
getCookie()
Get cookie |
int |
getDurationNanoseconds()
|
int |
getDurationSeconds()
|
short |
getHardTimeout()
Get hard_timeout |
short |
getIdleTimeout()
Get idle_timeout |
OFMatch |
getMatch()
Gets a copy of the OFMatch object for this FlowMod, changes to this object do not modify the FlowMod |
long |
getPacketCount()
|
short |
getPriority()
Get priority |
OFFlowRemoved.OFFlowRemovedReason |
getReason()
|
byte |
getTableId()
Get tableId |
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFFlowRemoved |
setByteCount(long byteCount)
|
OFFlowRemoved |
setCookie(long cookie)
Set cookie |
OFFlowRemoved |
setDurationNanoseconds(int durationNanoseconds)
|
OFFlowRemoved |
setDurationSeconds(int durationSeconds)
|
OFFlowRemoved |
setHardTimeout(short hardTimeout)
Set hard_timeout |
OFFlowRemoved |
setIdleTimeout(short idleTimeout)
Set idle_timeout |
OFFlowRemoved |
setMatch(OFMatch match)
Set match |
OFFlowRemoved |
setPacketCount(long packetCount)
|
OFFlowRemoved |
setPriority(short priority)
Set priority |
OFFlowRemoved |
setReason(OFFlowRemoved.OFFlowRemovedReason reason)
|
OFFlowRemoved |
setTableId(byte tableId)
Set tableId |
java.lang.String |
toString()
Returns a summary of the message |
void |
writeTo(java.nio.ByteBuffer data)
Write this message's binary format to the specified ByteBuffer |
Methods inherited from class org.openflow.protocol.OFMessage |
---|
getLength, getLengthU, getType, getVersion, getXid, setLength, setLengthU, setType, setVersion, setXid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int MINIMUM_LENGTH
protected OFMatch match
protected long cookie
protected short priority
protected OFFlowRemoved.OFFlowRemovedReason reason
protected byte tableId
protected int durationSeconds
protected int durationNanoseconds
protected short idleTimeout
protected short hardTimeout
protected long packetCount
protected long byteCount
Constructor Detail |
---|
public OFFlowRemoved()
Method Detail |
---|
public long getCookie()
public OFFlowRemoved setCookie(long cookie)
cookie
- public short getIdleTimeout()
public OFFlowRemoved setIdleTimeout(short idleTimeout)
idleTimeout
- public short getHardTimeout()
public OFFlowRemoved setHardTimeout(short hardTimeout)
hardTimeout
- public OFMatch getMatch()
public OFFlowRemoved setMatch(OFMatch match)
match
- public short getPriority()
public OFFlowRemoved setPriority(short priority)
priority
- public OFFlowRemoved.OFFlowRemovedReason getReason()
public OFFlowRemoved setReason(OFFlowRemoved.OFFlowRemovedReason reason)
reason
- the reason to setpublic byte getTableId()
public OFFlowRemoved setTableId(byte tableId)
tableId
- public int getDurationSeconds()
public OFFlowRemoved setDurationSeconds(int durationSeconds)
durationSeconds
- the durationSeconds to setpublic int getDurationNanoseconds()
public OFFlowRemoved setDurationNanoseconds(int durationNanoseconds)
durationNanoseconds
- the durationNanoseconds to setpublic long getPacketCount()
public OFFlowRemoved setPacketCount(long packetCount)
packetCount
- the packetCount to setpublic long getByteCount()
public OFFlowRemoved setByteCount(long byteCount)
byteCount
- the byteCount to setpublic void readFrom(java.nio.ByteBuffer data)
OFMessage
readFrom
in class OFMessage
public void writeTo(java.nio.ByteBuffer data)
OFMessage
writeTo
in class OFMessage
public int hashCode()
hashCode
in class OFMessage
public boolean equals(java.lang.Object obj)
equals
in class OFMessage
public java.lang.String toString()
OFMessage
toString
in class OFMessage
public void computeLength()
OFMessage
computeLength
in class OFMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |