com.threerings.presents.server
Interface ClientManager.DetailedClientObserver

All Superinterfaces:
ClientManager.ClientObserver
Enclosing class:
ClientManager

public static interface ClientManager.DetailedClientObserver
extends ClientManager.ClientObserver

Methods for observing additional events in the session lifecycle.


Method Summary
 void clientSessionWillEnd(PresentsSession session)
          Called prior to the sessions ending.
 
Methods inherited from interface com.threerings.presents.server.ClientManager.ClientObserver
clientSessionDidEnd, clientSessionDidStart
 

Method Detail

clientSessionWillEnd

void clientSessionWillEnd(PresentsSession session)
Called prior to the sessions ending. Subclasses and this class tend to nuke a lot of information in the process of ending. This will allow callers to act on session events without creating a subclass of a session. For example lightweight management of dobj fields such as flushing stats or notifying party members of a logout.