| Package | Description |
|---|---|
| com.threerings.bureau.server | |
| com.threerings.crowd.server | |
| com.threerings.presents.peer.server | |
| com.threerings.presents.server |
| Modifier and Type | Class and Description |
|---|---|
class |
BureauSession |
| Modifier and Type | Method and Description |
|---|---|
PresentsSession |
BureauRegistry.lookupClient(String bureauId)
Returns the active session for a bureau of the given id.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CrowdSession
Extends the presents session with crowd-specific session handling.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PeerSession
Manages a peer session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PeerManager.clientSessionDidEnd(PresentsSession client) |
void |
PeerManager.clientSessionDidStart(PresentsSession client) |
| Modifier and Type | Method and Description |
|---|---|
PresentsSession |
ClientManager.getClient(Name authUsername)
Returns the client instance that manages the client session for the specified authentication
username or null if that client is not currently connected to the server.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Class<? extends PresentsSession> |
SessionFactory.getSessionClass(AuthRequest areq)
Returns the
PresentsSession derived class to use for the session that authenticated
with the supplied request or null if this factory does not handle sessions of the supplied
type. |
List<PresentsSession> |
ClientManager.getSessionsForAddress(byte[] addr)
Returns all sessions logged in from the given IP in the form returned from
InetAddress.getAddress(). |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientManager.ClientObserver.clientSessionDidEnd(PresentsSession session)
Called when a client has logged off or been forcibly logged off due to inactivity and
has thus ended their session.
|
void |
ClientManager.ClientObserver.clientSessionDidStart(PresentsSession session)
Called when a client has authenticated and been resolved and has started their session.
|
void |
ClientManager.DetailedClientObserver.clientSessionWillEnd(PresentsSession session)
Called prior to the sessions ending.
|
| Modifier and Type | Method and Description |
|---|---|
static SessionFactory |
SessionFactory.newSessionFactory(Class<? extends Credentials> credsClass,
Class<? extends PresentsSession> sessionClass,
Class<? extends Name> nameClass,
Class<? extends ClientResolver> resolverClass)
Creates a session factory that handles clients with the supplied credentials and
authentication name.
|
Copyright © 2015. All rights reserved.