|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ActorSession represent the link between a user (represented by instances of Session and Actor) and an ApplicationInstance. It receive and transmit all the events or message in an ApplicationInstance, in game it is the communication link between the client and the game session server.
Method Summary | |
int |
getActorID()
Returns the Actor ID of the user. |
int |
getActorSessionID()
Returns the ActorSession ID. |
int |
getApplicationInstanceID()
Returns the ApplicationInstance ID linked. |
java.util.Vector |
getEvents()
Return the events stored since the last request from the actor. |
java.lang.String |
getPseudoName()
Returns the current pseudo name of the user session. |
int |
getSessionID()
Returns the Session ID of the user |
boolean |
isPseudoHasModified()
Determines if the pseudo has modified during the session. |
void |
raiseEvent(Event e)
Put the event on the stack of the events must be read by the actor. |
void |
setPseudoName(java.lang.String name)
Set the current pseudo name of the user session. |
Method Detail |
public int getApplicationInstanceID()
public int getActorID()
public int getSessionID()
public int getActorSessionID()
public java.lang.String getPseudoName()
public void setPseudoName(java.lang.String name)
public boolean isPseudoHasModified()
public java.util.Vector getEvents()
public void raiseEvent(Event e)
e
- the Event
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |