|
GridSim v3.1beta |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sim_event | |
eduni.simjava | Classes that form the main simulation structure of SimJava . |
Uses of Sim_event in eduni.simjava |
Methods in eduni.simjava that return Sim_event | |
Sim_event |
Evqueue.pop()
Remove and return the event at the top of the queue. |
Sim_event |
Evqueue.top()
Return the event at the top of the queue, without removing it. |
(package private) Sim_event |
Sim_entity.get_evbuf()
|
Methods in eduni.simjava with parameters of type Sim_event | |
void |
Evqueue.add_event(Sim_event new_event)
Add a new event to the queue. |
boolean |
Sim_any_p.match(Sim_event ev)
The match function called by Sim_system ,
not used directly by the user |
Sim_port |
Sim_entity.get_port(Sim_event ev)
Get the port through which an event arrived. |
void |
Sim_entity.sim_completed(Sim_event e)
Signal that an event has completed service. |
void |
Sim_entity.sim_select(Sim_predicate p,
Sim_event ev)
Extract the first event matching a predicate waiting in the entity's deferred queue. |
int |
Sim_entity.sim_cancel(Sim_predicate p,
Sim_event ev)
Cancel the first event matching a predicate waiting in the entity's future queue. |
void |
Sim_entity.sim_putback(Sim_event ev)
Put an event back on the deferred queue. |
void |
Sim_entity.sim_get_next(Sim_predicate p,
Sim_event ev)
Get the first event matching a predicate from the deferred queue, or if none match, wait for a matching event to arrive. |
void |
Sim_entity.sim_get_next(Sim_event ev)
Get the first event waiting in the entity's deferred queue, or if there are none, wait for an event to arrive. |
void |
Sim_entity.send_on(Sim_event ev,
Sim_port p)
Send on an event to an other entity through a port. |
(package private) void |
Sim_entity.set_evbuf(Sim_event e)
|
void |
Sim_entity.sim_process_until(Sim_event ev)
Set the entity to be active until it receives an event. |
void |
Sim_entity.sim_process_until(Sim_predicate p,
Sim_event ev)
Set the entity to be active until it receives an event matching a specific predicate. |
double |
Sim_entity.sim_process_for(double delay,
Sim_event ev)
Set the entity to be active for a time period or until it is interrupted by the arrival of an event. |
double |
Sim_entity.sim_process_for(Sim_predicate p,
double delay,
Sim_event ev)
Set the entity to be active for a time period or until it is interrupted by the arrival of an event matching a predicate. |
void |
Sim_entity.sim_pause_until(Sim_event ev)
Set the entity to be inactive until it receives an event. |
void |
Sim_entity.sim_pause_until(Sim_predicate p,
Sim_event ev)
Set the entity to eb inactive until it receives an event matching a specific predicate. |
double |
Sim_entity.sim_pause_for(double delay,
Sim_event ev)
Set the entity to be inactive for a time period or until it is interrupted by the arrival of an event. |
double |
Sim_entity.sim_pause_for(Sim_predicate p,
double delay,
Sim_event ev)
Set the entity to be inactive for a time period or until it is interrupted by the arrival of an event matching a predicate. |
void |
Sim_entity.sim_wait(Sim_event ev)
Wait for an event to arrive. |
void |
Sim_entity.sim_wait_for(Sim_predicate p,
Sim_event ev)
Wait for an event matching a specific predicate. |
double |
Sim_entity.sim_wait_for(double delay,
Sim_event ev)
Wait for an event to arrive or until a time period elapsed. |
double |
Sim_entity.sim_wait_for(Sim_predicate p,
double delay,
Sim_event ev)
Wait for an event matching a specific predicate to arrive or until a time period elapses. |
double |
Sim_entity.sim_hold_for(double delay,
Sim_event ev)
Deprecated. As of SimJava version 2.0, replaced by sim_pause_for(double delay, Sim_event ev) .
This method was deprecated because of the new statistical support present to entities. When an
entity holds it must now be specified if the hold corrssponds to the entity being active or
inactive. The original sim_hold() methods are equivalent to their respective
sim_pause() methods. |
(package private) void |
Sim_event.copy(Sim_event ev)
|
boolean |
Sim_from_p.match(Sim_event ev)
The match function called by Sim_system , not used directly by the user |
boolean |
Sim_none_p.match(Sim_event ev)
The match function called by Sim_system , not used directly by the user. |
boolean |
Sim_not_from_p.match(Sim_event ev)
The match function called by Sim_system , not used directly by the user |
boolean |
Sim_not_type_p.match(Sim_event ev)
The match function called by Sim_system , not used directly by the user |
abstract boolean |
Sim_predicate.match(Sim_event event)
The match function which must be overidden when writing a new predicate. |
(package private) static void |
Sim_system.putback(Sim_event ev)
|
boolean |
Sim_type_p.match(Sim_event ev)
The match function called by Sim_system , not used directly by the user |
|
GridSim v3.1beta |
||||||||||
PREV NEXT | FRAMES NO FRAMES |