public class OFFlowRemoved extends OFMessage
Modifier and Type | Class and Description |
---|---|
static class |
OFFlowRemoved.OFFlowRemovedReason |
Modifier and Type | Field and Description |
---|---|
protected long |
byteCount |
protected long |
cookie |
protected int |
durationNanoseconds |
protected int |
durationSeconds |
protected short |
idleTimeout |
protected OFMatch |
match |
static int |
MINIMUM_LENGTH |
protected long |
packetCount |
protected short |
priority |
protected OFFlowRemoved.OFFlowRemovedReason |
reason |
Constructor and Description |
---|
OFFlowRemoved() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getByteCount() |
long |
getCookie()
Get cookie
|
int |
getDurationNanoseconds() |
int |
getDurationSeconds() |
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() |
int |
hashCode() |
void |
readFrom(org.jboss.netty.buffer.ChannelBuffer data)
Read this message off the wire from the specified ByteBuffer
|
void |
setByteCount(long byteCount) |
void |
setCookie(long cookie)
Set cookie
|
void |
setDurationNanoseconds(int durationNanoseconds) |
void |
setDurationSeconds(int durationSeconds) |
void |
setIdleTimeout(short idleTimeout)
Set idle_timeout
|
void |
setMatch(OFMatch match)
Set match
|
void |
setPacketCount(long packetCount) |
void |
setPriority(short priority)
Set priority
|
void |
setReason(OFFlowRemoved.OFFlowRemovedReason reason) |
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 OFMatch match
protected long cookie
protected short priority
protected OFFlowRemoved.OFFlowRemovedReason reason
protected int durationSeconds
protected int durationNanoseconds
protected short idleTimeout
protected long packetCount
protected long byteCount
public long getCookie()
public void setCookie(long cookie)
cookie
- public short getIdleTimeout()
public void setIdleTimeout(short idleTimeout)
idleTimeout
- public OFMatch getMatch()
public void setMatch(OFMatch match)
match
- public short getPriority()
public void setPriority(short priority)
priority
- public OFFlowRemoved.OFFlowRemovedReason getReason()
public void setReason(OFFlowRemoved.OFFlowRemovedReason reason)
reason
- the reason to setpublic int getDurationSeconds()
public void setDurationSeconds(int durationSeconds)
durationSeconds
- the durationSeconds to setpublic int getDurationNanoseconds()
public void setDurationNanoseconds(int durationNanoseconds)
durationNanoseconds
- the durationNanoseconds to setpublic long getPacketCount()
public void setPacketCount(long packetCount)
packetCount
- the packetCount to setpublic long getByteCount()
public void setByteCount(long byteCount)
byteCount
- the byteCount 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.