lime
Class SystemReactionEvent
java.lang.Object
java.util.EventObject
lime.ReactionEvent
lime.SystemReactionEvent
- All Implemented Interfaces:
- java.io.Serializable
- class SystemReactionEvent
- extends ReactionEvent
Contains information related to an event that is triggered from within the
PendingUpon structure. Will only be for package use. Any reaction events
returned to the user will be of type ReactionEvent, not SystemReactionEvent.
Field Summary |
(package private) static short |
ACTUAL
|
(package private) static short |
COPY
|
(package private) short |
type
|
(package private) UponMgr |
upons
|
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
short type
upons
UponMgr upons
COPY
static final short COPY
- See Also:
- Constant Field Values
ACTUAL
static final short ACTUAL
- See Also:
- Constant Field Values
SystemReactionEvent
SystemReactionEvent(short type,
AgentID source,
lights.interfaces.ITuple eventTuple,
RegisteredReaction reaction,
UponMgr upons)
- Creates a new remote reaction event.
- Parameters:
type
- the type of the event, whether it was the upon or the system
take that was triggered by the uponsource
- the id of the agent owning the tuple space where the event
occurred.eventTuple
- the tuple that triggered the reaction.reaction
- the reaction this listener is part of. It is the same
object that has been passed at registration time.
SystemReactionEvent
SystemReactionEvent(short type,
ReactionEvent e)