7aa16f09e0
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1845 542714f4-19e9-0310-aa3c-eee0fc999fb1
36 lines
1.0 KiB
Java
36 lines
1.0 KiB
Java
//
|
|
// $Id: SessionObserver.java,v 1.3 2002/10/27 22:19:21 mdb Exp $
|
|
|
|
package com.threerings.presents.client;
|
|
|
|
/**
|
|
* A session observer is registered with the client instance to be
|
|
* notified when the client establishes and ends their session with the
|
|
* server.
|
|
*
|
|
* @see ClientObserver
|
|
*/
|
|
public interface SessionObserver
|
|
{
|
|
/**
|
|
* Called after the client successfully connected to and authenticated
|
|
* with the server. The entire object system is up and running by the
|
|
* time this method is called.
|
|
*/
|
|
public void clientDidLogon (Client client);
|
|
|
|
/**
|
|
* For systems that allow switching screen names after logon, this
|
|
* method is called whenever a screen name change takes place to
|
|
* report that the client object has been replaced to potential
|
|
* client-side subscribers.
|
|
*/
|
|
public void clientObjectDidChange (Client client);
|
|
|
|
/**
|
|
* Called after the client has been logged off of the server and has
|
|
* disconnected.
|
|
*/
|
|
public void clientDidLogoff (Client client);
|
|
}
|