org.openflow.gui.net.protocol
Class RequestLinks
java.lang.Object
org.openflow.gui.net.protocol.OFGMessage
org.openflow.gui.net.protocol.Request
org.openflow.gui.net.protocol.RequestLinks
- All Implemented Interfaces:
- Message<OFGMessageType>
public class RequestLinks
- extends Request
A request regarding links.
- Author:
- David Underhill
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ANY_NODE
public static final Node ANY_NODE
srcNode
public final Node srcNode
- which node the links should be from, if any
RequestLinks
public RequestLinks(RequestType requestType)
RequestLinks
public RequestLinks(RequestType requestType,
Node srcNode)
RequestLinks
public RequestLinks(RequestType requestType,
short type,
Node srcNode)
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