org.mega.gasp.event
Interface Event

All Known Subinterfaces:
DataEvent, EndEvent, JoinEvent, QuitEvent, StartEvent
All Known Implementing Classes:
DataEventImpl, EndEventImpl, EventImpl, JoinEventImpl, QuitEventImpl, StartEventImpl

public interface Event

Generic event.

Author:
PELLERIN Romain (pellerin@cnam.fr) - MEGA Project

Method Summary
 int getActorSessionID()
          Returns the ID of the ActorSession who raises the event.
 int getCode()
          Returns the code of the event.
 

Method Detail

getCode

public int getCode()
Returns the code of the event.

Returns:
the code of the event

getActorSessionID

public int getActorSessionID()
Returns the ID of the ActorSession who raises the event.

Returns:
the ActorSession ID