|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetIO
This class contains the structure for Input and Output entities.
Field Summary | |
---|---|
static int |
BITS
A constant that denotes 1 byte in bits |
Method Summary | |
---|---|
void |
addLink(Link link)
Sets this entity's link. |
double |
getBaudRate()
Gets the baud rate |
boolean |
setBackgroundTraffic(TrafficGenerator gen)
Sets the background traffic generator for Output entity only. |
boolean |
setBackgroundTraffic(TrafficGenerator gen,
Collection userName)
Sets the background traffic generator for Output entity only. |
Field Detail |
---|
static final int BITS
Method Detail |
---|
void addLink(Link link)
link
- the link to which this entity should send/receive datadouble getBaudRate()
boolean setBackgroundTraffic(TrafficGenerator gen)
When simulation starts, this entity will automatically sends junk packets to resource entities.
gen
- a background traffic generator
boolean setBackgroundTraffic(TrafficGenerator gen, Collection userName)
When simulation starts, this entity will automatically sends junk
packets to resource entities and other entities.
NOTE: Sending background traffic to itself is not supported.
gen
- a background traffic generatoruserName
- a collection of user entity name (in String object).
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |