|
GridSim v4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectgridsim.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 |
get_byte_size()
Deprecated. As of GridSim 2.1, replaced by getByteSize() |
Object |
get_data()
Deprecated. As of GridSim 2.1, replaced by getData() |
int |
get_dest_id()
Deprecated. As of GridSim 2.1, replaced by getDestID() |
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 IDpublic 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 get_data()
getData()
public Object getData()
public long get_byte_size()
getByteSize()
public long getByteSize()
public int get_dest_id()
getDestID()
public int getDestID()
public String toString()
|
GridSim v4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |