org.openflow.gui.net.protocol
Class RequestLinks

java.lang.Object
  extended by org.openflow.gui.net.protocol.OFGMessage
      extended by org.openflow.gui.net.protocol.Request
          extended by org.openflow.gui.net.protocol.RequestLinks
All Implemented Interfaces:
Message<OFGMessageType>

public class RequestLinks
extends Request

A request regarding links.

Author:
David Underhill

Field Summary
static Node ANY_NODE
           
 Node srcNode
          which node the links should be from, if any
 
Fields inherited from class org.openflow.gui.net.protocol.Request
ANY_TYPE, requestType, type
 
Fields inherited from class org.openflow.gui.net.protocol.OFGMessage
SIZEOF, timeCreated, TSSEP, xid
 
Constructor Summary
RequestLinks(RequestType requestType)
           
RequestLinks(RequestType requestType, Node srcNode)
           
RequestLinks(RequestType requestType, short type, Node srcNode)
           
 
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

ANY_NODE

public static final Node ANY_NODE

srcNode

public final Node srcNode
which node the links should be from, if any

Constructor Detail

RequestLinks

public RequestLinks(RequestType requestType)

RequestLinks

public RequestLinks(RequestType requestType,
                    Node srcNode)

RequestLinks

public RequestLinks(RequestType requestType,
                    short type,
                    Node srcNode)
Method Detail

length

public int length()
This returns the message length

Overrides:
length in class Request

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Writes the header (via super.write()) and a byte representing the subscription state

Overrides:
write in class Request
Throws:
java.io.IOException

toString

public java.lang.String toString()
Description copied from class: OFGMessage
String representation of the message including the date and type. Also includes the transaction ID if it is non-zero.

Overrides:
toString in class Request