|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFnbDroppedUserObject
public class FnbDroppedUserObject
This class is used by a router to inform users of a dropped packet.
| Constructor Summary | |
|---|---|
FnbDroppedUserObject(int userID,
int objectID,
boolean isfile)
Create an object of this class. |
|
| Method Summary | |
|---|---|
int |
getDestID()
Returns the destination id of this packet. |
int |
getID()
Returns the ID of this object (e.g. |
boolean |
getIsFile()
Gets the isFile |
int |
getLast()
Gets an entity ID from the last hop that this packet has traversed. |
int |
getNetServiceType()
Gets the network service type of this packet |
long |
getSize()
Returns the size of this packet |
int |
getSrcID()
Returns the ID of the source of this packet. |
int |
getTag()
Gets this packet tag. |
int |
getUserID()
Gets the user id |
void |
setLast(int last)
Sets an entity ID from the last hop that this packet has traversed. Note that this method is not used. |
void |
setNetServiceType(int serviceType)
Sets the network service type of this packet. Note that this method is not used. |
boolean |
setSize(long size)
Sets the size of this packet. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Packet |
|---|
toString |
| Constructor Detail |
|---|
public FnbDroppedUserObject(int userID,
int objectID,
boolean isfile)
userID - the user idobjectID - the packet id| Method Detail |
|---|
public boolean getIsFile()
public int getUserID()
public int getTag()
getTag in interface Packetpublic void setLast(int last)
setLast in interface Packetlast - an entity ID from the last hoppublic int getLast()
getLast in interface Packetpublic void setNetServiceType(int serviceType)
setNetServiceType in interface PacketserviceType - this packet's service typepublic int getNetServiceType()
getNetServiceType in interface Packetpublic int getSrcID()
getSrcID in interface Packetpublic int getID()
getID in interface Packetpublic int getDestID()
getDestID in interface Packetpublic boolean setSize(long size)
setSize in interface Packetsize - size of the packet
public long getSize()
getSize in interface Packet
|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||