com.threerings.bureau.client
Class BureauClient

java.lang.Object
  extended by com.threerings.presents.client.Client
      extended by com.threerings.bureau.client.BureauClient

public abstract class BureauClient
extends Client

Represents a client embedded in a bureau.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.presents.client.Client
Client.ServerSwitcher
 
Field Summary
protected  String _bureauId
           
protected  com.samskivert.util.Config _config
           
protected  BureauContext _ctx
           
protected  BureauDirector _director
           
 
Fields inherited from class com.threerings.presents.client.Client
_authData, _bootGroups, _bstrap, _clobj, _cloid, _comm, _connectionId, _creds, _datagramPorts, _dcalc, _hostname, _invdir, _lastSync, _loader, _messageTracker, _observers, _omgr, _outThrottle, _ports, _runQueue, _serverDelta, _standalone, _tickInterval, _version, CLOCK_SYNC_INTERVAL, DEFAULT_DATAGRAM_PORTS, DEFAULT_MSGS_PER_SECOND, DEFAULT_SERVER_PORTS, MAX_DATAGRAM_SIZE
 
Constructor Summary
BureauClient(String bureauId, String sharedSecret, com.samskivert.util.RunQueue runQueue)
          Creates a new client.
 
Method Summary
protected  BureauContext createContext()
           
protected abstract  BureauDirector createDirector()
           
 
Methods inherited from class com.threerings.presents.client.Client
addClientObserver, addServiceGroup, cleanup, clientObjectDidChange, convertFromRemote, createCommunicator, debugLogMessages, establishClockDelta, fieldsToString, fromServerTime, getAuthResponseData, getBootGroups, getBootstrapData, getClientObject, getClientObjectFailed, getClientOid, getConnectionId, getCredentials, getDatagramPorts, getDObjectManager, getHostname, getInvocationDirector, getMessageTracker, getOutgoingMessageThrottle, getPorts, getRunQueue, getService, getTransmitDatagrams, getVersion, gotBootstrap, gotClientObject, gotPong, isActive, isLoggedOn, isStandalone, logoff, logon, moveToServer, moveToServer, notifyObservers, prepareStandaloneLogon, registerFlushDelay, removeClientObserver, reportLogonTribulations, requireService, setClassLoader, setCredentials, setMessageTracker, setOutgoingMessageThrottle, setServer, setServer, setVersion, standaloneLogoff, standaloneLogon, tick, toServerTime, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_ctx

protected BureauContext _ctx

_bureauId

protected String _bureauId

_director

protected BureauDirector _director

_config

protected com.samskivert.util.Config _config
Constructor Detail

BureauClient

public BureauClient(String bureauId,
                    String sharedSecret,
                    com.samskivert.util.RunQueue runQueue)
Creates a new client.

Parameters:
runQueue - the place to post tasks required by clients
Method Detail

createDirector

protected abstract BureauDirector createDirector()

createContext

protected BureauContext createContext()