org.mega.gasp.event.impl
Class EventImpl

java.lang.Object
  extended byorg.mega.gasp.event.impl.EventImpl
All Implemented Interfaces:
Event
Direct Known Subclasses:
DataEventImpl, EndEventImpl, JoinEventImpl, QuitEventImpl, StartEventImpl

public class EventImpl
extends java.lang.Object
implements Event

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

Field Summary
protected  int aSID
           
protected  int code
           
 
Constructor Summary
EventImpl()
           
 
Method Summary
 int getActorSessionID()
          Returns the ID of the ActorSession who raises the event.
 int getCode()
          Returns the code of the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected int code

aSID

protected int aSID
Constructor Detail

EventImpl

public EventImpl()
Method Detail

getCode

public int getCode()
Description copied from interface: Event
Returns the code of the event.

Specified by:
getCode in interface Event
Returns:
the code of the event

getActorSessionID

public int getActorSessionID()
Description copied from interface: Event
Returns the ID of the ActorSession who raises the event.

Specified by:
getActorSessionID in interface Event
Returns:
the ActorSession ID