|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object FnbDroppedUserObject
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 idMethod Detail |
---|
public boolean getIsFile()
public int getUserID()
public int getTag()
getTag
in interface Packet
public void setLast(int last)
setLast
in interface Packet
last
- an entity ID from the last hoppublic int getLast()
getLast
in interface Packet
public void setNetServiceType(int serviceType)
setNetServiceType
in interface Packet
serviceType
- this packet's service typepublic int getNetServiceType()
getNetServiceType
in interface Packet
public int getSrcID()
getSrcID
in interface Packet
public int getID()
getID
in interface Packet
public int getDestID()
getDestID
in interface Packet
public boolean setSize(long size)
setSize
in interface Packet
size
- 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 |