|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfi.helsinki.dacopan.model.Flow
public class Flow
A flow (e.g. a TCP connection) in a scenario.
Field Summary | |
---|---|
protected Host |
first
first endpoint |
protected int |
firstPort
port of the first endpoint |
protected long |
id
unique flow id |
protected Host |
second
second endpoint |
protected int |
secondPort
port of the second endpoint |
Constructor Summary | |
---|---|
Flow(long id,
Host first,
int firstPort,
Host second,
int secondPort)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
Host |
getFirst()
|
int |
getFirstPort()
|
long |
getId()
Returns the unique identifier of this object. |
Host |
getSecond()
|
int |
getSecondPort()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long id
protected Host first
protected int firstPort
protected Host second
protected int secondPort
Constructor Detail |
---|
public Flow(long id, Host first, int firstPort, Host second, int secondPort)
Method Detail |
---|
public Host getFirst()
public int getFirstPort()
public long getId()
Identifiable
getId
in interface Identifiable
public Host getSecond()
public int getSecondPort()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public 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 |