org.openflow.gui.net.protocol
Class Node
java.lang.Object
org.openflow.gui.net.protocol.Node
public class Node
- extends java.lang.Object
Structure to specify a node.
- Author:
- David Underhill
|
Field Summary |
long |
id
unique ID of the node (datapath ID for a switch) |
NodeType |
nodeType
type of the node |
static int |
SIZEOF
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SIZEOF
public static final int SIZEOF
- See Also:
- Constant Field Values
nodeType
public final NodeType nodeType
- type of the node
id
public final long id
- unique ID of the node (datapath ID for a switch)
Node
public Node(java.io.DataInput in)
throws java.io.IOException
- Throws:
java.io.IOException
Node
public Node(NodeType nodeType,
long id)
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object