|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectIO_data
public class IO_data
Class relates to a communication between user entities and resources or user entities and others.
| Constructor Summary | |
|---|---|
IO_data(Object data,
long byteSize,
int destID)
Allocates a new IO_data object |
|
IO_data(Object data,
long byteSize,
int destID,
int netServiceLevel)
Allocates a new IO_data object with a specific network service level. |
|
| Method Summary | |
|---|---|
long |
getByteSize()
Gets the size of a data |
Object |
getData()
Gets the Object data |
int |
getDestID()
Gets the destination ID |
int |
getNetServiceLevel()
Returns the class type of this IO_data object. |
String |
toString()
Returns a human-readable information of this object |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IO_data(Object data,
long byteSize,
int destID)
data - the data objectbyteSize - the size of a data (in bytes)destID - the destination ID
public IO_data(Object data,
long byteSize,
int destID,
int netServiceLevel)
The network service level of 0 is the normal or default level.
Other levels are treated according to the policy being
followed by the system.
For example, if using SCFQScheduler as a packet
scheduler, then setting the level to 1 or higher means this object
gets a higher priority.
data - the data objectbyteSize - the size of a data (in bytes)destID - the destination IDnetServiceLevel - determines the kind of service this packet
receives in the network (applicable to
selected PacketScheduler class only)SCFQScheduler| Method Detail |
|---|
public int getNetServiceLevel()
public Object getData()
public long getByteSize()
public int getDestID()
public String toString()
toString in class Object
|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||