|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.micasa.client.MiCasaClient
public class MiCasaClient
The MiCasa client takes care of instantiating all of the proper managers and loading up all of the necessary configuration and getting the client bootstrapped. It can be extended by games that require an extended context implementation.
| Nested Class Summary | |
|---|---|
protected class |
MiCasaClient.MiCasaContextImpl
The context implementation. |
| Field Summary | |
|---|---|
protected ChatDirector |
_chatdir
|
protected Client |
_client
|
protected Config |
_config
|
protected MiCasaContext |
_ctx
|
protected MiCasaFrame |
_frame
|
protected LocationDirector |
_locdir
|
protected MessageManager |
_msgmgr
|
protected OccupantDirector |
_occdir
|
protected ParlorDirector |
_pardtr
|
protected static String |
MESSAGE_MANAGER_PREFIX
The prefix prepended to localization bundle names before looking them up in the classpath. |
| Constructor Summary | |
|---|---|
MiCasaClient()
|
|
| Method Summary | |
|---|---|
protected MiCasaContext |
createContextImpl()
Creates the MiCasaContext implementation that will be
passed around to all of the client code. |
protected void |
createContextServices()
Creates and initializes the various services that are provided by the context. |
MiCasaContext |
getContext()
Returns a reference to the context in effect for this client. |
void |
init(MiCasaFrame frame)
Initializes a new client and provides it with a frame in which to display everything. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MiCasaContext _ctx
protected MiCasaFrame _frame
protected Config _config
protected Client _client
protected LocationDirector _locdir
protected OccupantDirector _occdir
protected ChatDirector _chatdir
protected ParlorDirector _pardtr
protected MessageManager _msgmgr
protected static final String MESSAGE_MANAGER_PREFIX
| Constructor Detail |
|---|
public MiCasaClient()
| Method Detail |
|---|
public void init(MiCasaFrame frame)
throws IOException
IOExceptionpublic MiCasaContext getContext()
protected MiCasaContext createContextImpl()
MiCasaContext implementation that will be
passed around to all of the client code. Derived classes may wish
to override this and create some extended context implementation.
protected void createContextServices()
throws IOException
super.createContextServices.
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||