|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectSim_predicate
FilterARMessage
public class FilterARMessage
This filter is used to look for a specific incoming event that matches
a given event tag name and a reservation id. Incoming events with a
matching tag name must contain a data object of type
ReservationMessage which stores the reservation and consequently
has the given reservation ID.
NOTE: This class can only be used for getting a reply or feedback
from a ParallelResource entity regarding to an advance reservation.
This class is used by Sim_system to select or
filter an event already present in the entity's deferred queue
(incoming buffer), or used to selectively wait for a future event.
ReservationRequester| Constructor Summary | |
|---|---|
FilterARMessage(int reservId,
int tag)
Finds an incoming events that matches with the given reservation ID and event tag name. |
|
| Method Summary | |
|---|---|
boolean |
match(Sim_event ev)
Checks whether an event matches the required constraints or not. NOTE: This method is not used directly by the user. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterARMessage(int reservId,
int tag)
reservId - the id of the reservation to which
the message is relatedtag - a matching event tag name| Method Detail |
|---|
public boolean match(Sim_event ev)
Sim_system.
match in class Sim_predicateev - an incoming event to compare with
true if an event matches, false otherwise
|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||