Modifier and Type | Interface and Description |
---|---|
interface |
PlayerSession
This interface model's a human player's session to jetserver.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultPlayerSession
This implementation of the
PlayerSession interface is used to both
receive and send messages to a particular player using the
DefaultSession.onEvent(org.menacheri.jetserver.event.Event) . |
class |
DefaultSession
The default implementation of the session class.
|
class |
GameRoomSession |
Modifier and Type | Method and Description |
---|---|
Session |
DefaultSession.SessionBuilder.build() |
static Session |
Sessions.newSession() |
Modifier and Type | Method and Description |
---|---|
Session |
SessionEventHandler.getSession() |
Session |
EventContext.getSession() |
Modifier and Type | Method and Description |
---|---|
static Event |
Events.event(Object source,
int eventType,
Session session) |
boolean |
EventDispatcher.removeHandlersForSession(Session session)
Removes all the handlers for a session.
|
void |
SessionEventHandler.setSession(Session session)
Sets the session instance on this handler.
|
void |
EventContext.setSession(Session session) |
Modifier and Type | Field and Description |
---|---|
private Session |
NetworkEventListener.session |
private Session |
ExceptionEventHandler.session |
private Session |
DefaultSessionEventHandler.session |
private Session |
DefaultEventContext.session |
Modifier and Type | Method and Description |
---|---|
Session |
NetworkEventListener.getSession() |
Session |
ExceptionEventHandler.getSession() |
Session |
DefaultSessionEventHandler.getSession() |
Session |
DefaultEventContext.getSession() |
Modifier and Type | Method and Description |
---|---|
protected List<EventHandler> |
JetlangEventDispatcher.getHandlersToRemoveForSession(List<EventHandler> handlerList,
Session session) |
boolean |
JetlangEventDispatcher.removeHandlersForSession(Session session) |
boolean |
ExecutorEventDispatcher.removeHandlersForSession(Session session) |
boolean |
ABQEventDispatcher.removeHandlersForSession(Session session) |
void |
NetworkEventListener.setSession(Session session) |
void |
ExceptionEventHandler.setSession(Session session) |
void |
DefaultSessionEventHandler.setSession(Session session) |
void |
DefaultEventContext.setSession(Session session) |
Constructor and Description |
---|
DefaultSessionEventHandler(Session session) |
ExceptionEventHandler(Session session) |
NetworkEventListener(Session session) |
Modifier and Type | Method and Description |
---|---|
Session |
Server.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
Server.setSession(Session session) |
Modifier and Type | Field and Description |
---|---|
protected Session |
AbstractNettyServer.session |
Modifier and Type | Method and Description |
---|---|
Session |
AbstractNettyServer.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractNettyServer.setSession(Session session) |
Modifier and Type | Method and Description |
---|---|
Session |
SessionRegistryService.getSession(T key) |
Modifier and Type | Method and Description |
---|---|
boolean |
SessionRegistryService.putSession(T key,
Session session) |
Modifier and Type | Field and Description |
---|---|
protected Map<T,Session> |
SessionRegistry.sessions |
(package private) Map<String,Session> |
ReconnectSessionRegistry.ClearSessionTask.sessions |
Modifier and Type | Method and Description |
---|---|
Session |
SessionRegistry.getSession(T key) |
Modifier and Type | Method and Description |
---|---|
boolean |
ReconnectSessionRegistry.putSession(String key,
Session session) |
boolean |
SessionRegistry.putSession(T key,
Session session) |
Constructor and Description |
---|
ReconnectSessionRegistry.ClearSessionTask(String reconnectKey,
Map<String,Session> sessions) |
Copyright © 2013. All Rights Reserved.