|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Flow
This the structure for network flows.
Method Summary | |
---|---|
int |
getDestID()
Returns the destination id of this flow. |
int |
getID()
Returns the ID of this flow |
int |
getLast()
Gets an entity ID from the last hop that this packet has traversed. |
int |
getNetServiceType()
Gets the network service type of this flow |
long |
getSize()
Returns the size of this flow |
int |
getSrcID()
Returns the ID of the source of this flow. |
int |
getTag()
Gets this flow tag |
void |
setLast(int last)
Sets an entity ID from the last hop that this packet has traversed. |
void |
setNetServiceType(int serviceType)
Sets the network service type of this flow. |
boolean |
setSize(long size)
Sets the size of this flow |
String |
toString()
Returns a string describing this flow in detail. |
Method Detail |
---|
String toString()
toString
in class Object
long getSize()
boolean setSize(long size)
size
- size of the flow
int getDestID()
int getID()
int getSrcID()
int getNetServiceType()
void setNetServiceType(int serviceType)
By default, the service type is 0 (zero). It is depends on the packet scheduler to determine the priority of this service level.
serviceType
- this flow's service typeint getLast()
void setLast(int last)
last
- an entity ID from the last hopint getTag()
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |