GridSim 5.0 beta

gridsim.net.fnb
Interface FnbMessage

All Known Implementing Classes:
FnbMessageDropFile, FnbMessageDropGridlet

public interface FnbMessage

This class provides a template for sending a message due to a packet being dropped in the network.

Since:
GridSim Toolkit 4.2
Author:
Agustin Caminero
See Also:
FnbMessageDropGridlet, FnbMessageDropFile

Method Summary
 int getEntityID()
          Gets an entity ID of this class.
 void setEntityID(int id)
          Sets an entity ID that is being dropped in the network.
 

Method Detail

setEntityID

void setEntityID(int id)
Sets an entity ID that is being dropped in the network.
NOTE: the type of an entity depends on its subclasses. An entity could represents a Gridlet or a File.

Parameters:
id - an entity id
See Also:
FnbMessageDropGridlet.setEntityID(int), FnbMessageDropFile.setEntityID(int)

getEntityID

int getEntityID()
Gets an entity ID of this class.

Returns:
an entity ID

GridSim 5.0 beta

The University of Melbourne, Australia, 2009