|
||||||||||
| 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.AggregateStatsRequest
public class AggregateStatsRequest
A request for aggregate statistics.
| Field Summary | |
|---|---|
static byte |
ALL_TABLES
|
Match |
match
Fields to match |
static short |
OFPP_NONE
|
short |
outPort
Require matching entries to include this output port, or OFPP_NONE |
byte |
tableID
ID of table to read or 0xFF for all tables |
| 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 | |
|---|---|
AggregateStatsRequest(long dpid)
Create an aggregate stats request from the switch with this DPID. |
|
AggregateStatsRequest(long dpid,
short outPort)
Create an aggregate stats request from the switch with this DPID and port. |
|
AggregateStatsRequest(long dpid,
short outPort,
Match m)
Create an aggregate stats request from the switch with this DPID, port, and match. |
|
AggregateStatsRequest(long dpid,
short outPort,
Match m,
byte tableID)
Create an aggregate stats request from the switch with this DPID, port, match, and table ID. |
|
AggregateStatsRequest(long dpid,
StatsFlag flags,
java.io.DataInput in)
Create an aggregate request for stats from the switch with the specified DPID and flags and read the request from the receive buffer. |
|
| Method Summary | |
|---|---|
boolean |
isStatefulRequest()
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, isStatefulReply, timeCreated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte ALL_TABLES
public static final short OFPP_NONE
public final Match match
public byte tableID
public short outPort
| Constructor Detail |
|---|
public AggregateStatsRequest(long dpid)
public AggregateStatsRequest(long dpid,
short outPort)
public AggregateStatsRequest(long dpid,
short outPort,
Match m)
public AggregateStatsRequest(long dpid,
short outPort,
Match m,
byte tableID)
public AggregateStatsRequest(long dpid,
StatsFlag flags,
java.io.DataInput in)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean isStatefulRequest()
isStatefulRequest 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 | |||||||||