|
||||||||||
| 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.Request
public class Request
A generic request.
| Field Summary | |
|---|---|
static short |
ANY_TYPE
|
RequestType |
requestType
what kind of request this is |
short |
type
the type of Node, Link, or Flow (etc) this is for |
| Fields inherited from class org.openflow.gui.net.protocol.OFGMessage |
|---|
SIZEOF, timeCreated, TSSEP, xid |
| Constructor Summary | |
|---|---|
Request(OFGMessageType msgType,
RequestType requestType)
|
|
Request(OFGMessageType msgType,
RequestType requestType,
short type)
|
|
| Method Summary | |
|---|---|
int |
length()
This returns the message length |
java.lang.String |
toString()
String representation of the message including the date and type. |
void |
write(java.io.DataOutput out)
Writes the header (via super.write()) and a byte representing the subscription state |
| Methods inherited from class org.openflow.gui.net.protocol.OFGMessage |
|---|
getType, isStatefulReply, isStatefulRequest, timeCreated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short ANY_TYPE
public final RequestType requestType
public final short type
| Constructor Detail |
|---|
public Request(OFGMessageType msgType,
RequestType requestType)
public Request(OFGMessageType msgType,
RequestType requestType,
short type)
| Method Detail |
|---|
public int length()
length in class OFGMessage
public void write(java.io.DataOutput out)
throws java.io.IOException
write in class OFGMessagejava.io.IOExceptionpublic java.lang.String toString()
OFGMessage
toString in class OFGMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||