org.openflow.util
Class FlowHop

java.lang.Object
  extended by org.openflow.util.FlowHop

public class FlowHop
extends java.lang.Object

A hop for some path through the network. It specifies a node on that path and the port on which the path enters the node and the port on which it leaves.

Author:
David Underhill

Field Summary
 short inport
          the incoming port
 NodeWithPorts node
          the node
 short outport
          the outgoing port
 
Constructor Summary
FlowHop(short inport, NodeWithPorts n, short outport)
          create a new NodePortPair
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inport

public final short inport
the incoming port


node

public final NodeWithPorts node
the node


outport

public final short outport
the outgoing port

Constructor Detail

FlowHop

public FlowHop(short inport,
               NodeWithPorts n,
               short outport)
create a new NodePortPair

Method Detail

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