public class BasicDirector extends Object implements SessionObserver
clientDidLogon(com.threerings.presents.client.Client)) and clean up after themselves when the client logs off (by overriding clientDidLogoff(com.threerings.presents.client.Client)).| Modifier and Type | Method and Description |
|---|---|
void |
clientDidLogoff(Client client)
Called after the client has been logged off of the server and has disconnected.
|
void |
clientDidLogon(Client client)
Called after the client successfully connected to and authenticated with the server.
|
void |
clientObjectDidChange(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.
|
void |
clientWillLogon(Client client)
Called immediately before a logon is attempted.
|
boolean |
isAvailableInStandalone()
Checks whether or not this director is available in standalone mode (defaults to false).
|
void |
setAvailableInStandalone(boolean available)
Sets whether or not this director is available in standalone mode.
|
public void clientWillLogon(Client client)
SessionObserverclientWillLogon in interface SessionObserverpublic void clientDidLogon(Client client)
SessionObserverclientDidLogon in interface SessionObserverpublic void clientObjectDidChange(Client client)
SessionObserverclientObjectDidChange in interface SessionObserverpublic void clientDidLogoff(Client client)
SessionObserverclientDidLogoff in interface SessionObserverpublic void setAvailableInStandalone(boolean available)
public boolean isAvailableInStandalone()
Copyright © 2015. All rights reserved.