|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.gui.net.protocol.Flow
public class Flow
Structure to describe a flow.
| Field Summary | |
|---|---|
Node |
dstNode
|
short |
dstPort
|
int |
id
flow identifier |
FlowHop[] |
path
the flow's path from source to destination (inclusive) |
Node |
srcNode
|
short |
srcPort
|
FlowType |
type
type of flow |
| Constructor Summary | |
|---|---|
Flow(FlowType type,
int id,
Node srcNode,
short srcPort,
Node dstNode,
short dstPort,
java.util.Collection<FlowHop> path)
|
|
Flow(FlowType type,
int id,
Node srcNode,
short srcPort,
Node dstNode,
short dstPort,
FlowHop... path)
|
|
| Method Summary | |
|---|---|
int |
length()
This returns the length of Flow |
java.lang.String |
toString()
|
void |
write(java.io.DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final FlowType type
public final int id
public final Node srcNode
public final short srcPort
public final Node dstNode
public final short dstPort
public final FlowHop[] path
| Constructor Detail |
|---|
public Flow(FlowType type,
int id,
Node srcNode,
short srcPort,
Node dstNode,
short dstPort,
FlowHop... path)
public Flow(FlowType type,
int id,
Node srcNode,
short srcPort,
Node dstNode,
short dstPort,
java.util.Collection<FlowHop> path)
| Method Detail |
|---|
public int length()
public void write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||