|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectadevs.Event
public class Event
The Event class is used to inject models into a running simulation, to route input and output within a network model, and to receive notifications of output by an EventListener.
Field Summary | |
---|---|
Devs |
model
The model that produced or should receive the event. |
java.lang.Object |
value
The value of the input or output event |
Constructor Summary | |
---|---|
Event()
Create an event with both its model and value set to null |
|
Event(Devs model,
java.lang.Object value)
Create an event with both fields set. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Devs model
Simulator
,
EventListener
public java.lang.Object value
Simulator
,
EventListener
Constructor Detail |
---|
public Event()
public Event(Devs model, java.lang.Object value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |