|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.presents.server.PresentsSession
com.threerings.crowd.server.CrowdSession
public class CrowdSession
Extends the presents session with crowd-specific session handling.
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
protected BodyManager |
_bodyman
|
protected ChatHistory |
_chatHistory
|
protected BodyLocator |
_locator
|
protected LocationManager |
_locman
|
| Fields inherited from class com.threerings.presents.server.PresentsSession |
|---|
_areq, _authdata, _authname, _clmgr, _clobj, _compound, _compoundDepth, _conmgr, _conn, _connectTime, _destroyedSubs, _disps, _invmgr, _loader, _messagesDropped, _messagesIn, _messagesOut, _messagesPerSec, _networkStamp, _omgr, _pendingThrottles, _sessionStamp, _subscrips, _throttle, DEFAULT_FLUSH_TIME, PING_DEBUG |
| Constructor Summary | |
|---|---|
CrowdSession()
|
|
| Method Summary | |
|---|---|
protected void |
clearLocation(BodyObject bobj)
When the user ends their session, this method is called to clear out any location they might occupy. |
protected void |
sessionConnectionClosed()
Called on the dobjmgr thread when the connection associated with this session has been closed and unmapped. |
protected void |
sessionDidEnd()
Called when the client session ends (either because the client logged off or because the server forcibly terminated the session). |
protected void |
sessionWillResume()
Called when the client resumes a session (after having disconnected and reconnected). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Inject protected BodyLocator _locator
@Inject protected BodyManager _bodyman
@Inject protected LocationManager _locman
@Inject protected ChatHistory _chatHistory
| Constructor Detail |
|---|
public CrowdSession()
| Method Detail |
|---|
protected void sessionConnectionClosed()
PresentsSessionPresentsSession.sessionDidEnd().
sessionConnectionClosed in class PresentsSessionprotected void sessionWillResume()
PresentsSessionsuper.sessionWillResume.
Note: This function will be called on the dobjmgr thread which means that object manipulations are OK, but client instance manipulations must done carefully.
sessionWillResume in class PresentsSessionprotected void sessionDidEnd()
PresentsSessionsuper.sessionDidEnd.
Note: This function will be called on the dobjmgr thread which means that object manipulations are OK, but client instance manipulations must done carefully.
sessionDidEnd in class PresentsSessionprotected void clearLocation(BodyObject bobj)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||