orca.shirako.api
Interface IEvent

All Known Implementing Classes:
Event

public interface IEvent

IEvent defines an event interface for events raised by the Shirako implementation. In the current version, such events are intended primarily for debugging, testing, and verification purposes.


Method Summary
 IActor getActor()
          Returns the actor this event is associated with.
 int getComponent()
          Returns the identifier of the the component that raised the event: e.g., actor class, configuration object, actor proxy, etc.
 int getId()
          Returns the identifier of the event type (unique within the component).
 java.lang.Object getSubject()
          Returns the subject of the event.
 

Method Detail

getActor

IActor getActor()
Returns the actor this event is associated with.

Returns:
the actor this event is associated with

getSubject

java.lang.Object getSubject()
Returns the subject of the event. This can be a reservation, a node, or something else.

Returns:
event subject

getComponent

int getComponent()
Returns the identifier of the the component that raised the event: e.g., actor class, configuration object, actor proxy, etc.

Returns:
identifier of component that raised the event

getId

int getId()
Returns the identifier of the event type (unique within the component).

Returns:
event type identifier


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.