|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.gui.net.protocol.OFGMessage
org.openflow.gui.net.protocol.StatsHeader
org.openflow.protocol.AggregateStatsReply
public class AggregateStatsReply
A reply with aggregate statistics.
| Field Summary | |
|---|---|
long |
byte_count
Number of bytes in flows. |
int |
flow_count
Number of flows. |
long |
packet_count
Number of packets in flows. |
| Fields inherited from class org.openflow.gui.net.protocol.StatsHeader |
|---|
dpid, flags, REPLY, REQUEST, statsType |
| Fields inherited from class org.openflow.gui.net.protocol.OFGMessage |
|---|
SIZEOF, timeCreated, TSSEP, type, xid |
| Constructor Summary | |
|---|---|
AggregateStatsReply(long dpid)
Create an aggregate request for stats from the switch with the specified DPID. |
|
AggregateStatsReply(long dpid,
StatsFlag flags,
java.io.DataInput in)
Create an aggregate stats reply from the switch with the specified DPID and flags and read the reply from the receive buffer. |
|
| Method Summary | |
|---|---|
boolean |
isStatefulReply()
returns true because this message is part of a stateful exchange |
int |
length()
total length of this message in bytes |
java.lang.String |
toString()
String representation of the message including the date and type. |
void |
write(java.io.DataOutput out)
sends the message over the specified output stream |
| Methods inherited from class org.openflow.gui.net.protocol.OFGMessage |
|---|
getType, isStatefulRequest, timeCreated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public long packet_count
public long byte_count
public int flow_count
| Constructor Detail |
|---|
public AggregateStatsReply(long dpid)
public AggregateStatsReply(long dpid,
StatsFlag flags,
java.io.DataInput in)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean isStatefulReply()
isStatefulReply in class OFGMessagepublic int length()
length in class StatsHeader
public void write(java.io.DataOutput out)
throws java.io.IOException
OFGMessage
write in class StatsHeaderjava.io.IOExceptionpublic java.lang.String toString()
OFGMessage
toString in class StatsHeader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||