com.threerings.micasa.simulator.client
Class SimpleClient

java.lang.Object
  extended by com.threerings.micasa.simulator.client.SimpleClient
All Implemented Interfaces:
SimulatorClient

public class SimpleClient
extends Object
implements SimulatorClient


Nested Class Summary
protected  class SimpleClient.MiCasaContextImpl
          The context implementation.
 
Field Summary
protected  ChatDirector _chatdir
           
protected  Client _client
           
protected  Config _config
           
protected  MiCasaContext _ctx
           
protected  SimulatorFrame _frame
           
protected  LocationDirector _locdir
           
protected  MessageManager _msgmgr
           
protected  OccupantDirector _occdir
           
protected  ParlorDirector _pardtr
           
 
Constructor Summary
SimpleClient(SimulatorFrame frame)
           
 
Method Summary
protected  MiCasaContext createContext()
          Creates our context reference.
protected  String getMessageManagerPrefix()
          Returns the prefix used by the message manager when looking for translation properties files.
 ParlorContext getParlorContext()
          Returns a reference to the context in effect for this client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ctx

protected MiCasaContext _ctx

_frame

protected SimulatorFrame _frame

_msgmgr

protected MessageManager _msgmgr

_config

protected Config _config

_client

protected Client _client

_locdir

protected LocationDirector _locdir

_occdir

protected OccupantDirector _occdir

_pardtr

protected ParlorDirector _pardtr

_chatdir

protected ChatDirector _chatdir
Constructor Detail

SimpleClient

public SimpleClient(SimulatorFrame frame)
             throws IOException
Throws:
IOException
Method Detail

createContext

protected MiCasaContext createContext()
Creates our context reference.


getMessageManagerPrefix

protected String getMessageManagerPrefix()
Returns the prefix used by the message manager when looking for translation properties files.


getParlorContext

public ParlorContext getParlorContext()
Returns a reference to the context in effect for this client. This reference is valid for the lifetime of the application.

Specified by:
getParlorContext in interface SimulatorClient