RunQueue related updatery.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@777 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -53,7 +53,6 @@ import com.threerings.micasa.util.MiCasaContext;
|
||||
* extended context implementation.
|
||||
*/
|
||||
public class MiCasaClient
|
||||
implements RunQueue
|
||||
{
|
||||
/**
|
||||
* Initializes a new client and provides it with a frame in which to
|
||||
@@ -122,7 +121,7 @@ public class MiCasaClient
|
||||
throws IOException
|
||||
{
|
||||
// create the handles on our various services
|
||||
_client = new Client(null, this);
|
||||
_client = new Client(null, RunQueue.AWT);
|
||||
|
||||
// create our managers and directors
|
||||
_locdir = new LocationDirector(_ctx);
|
||||
@@ -132,19 +131,6 @@ public class MiCasaClient
|
||||
_chatdir = new ChatDirector(_ctx, _msgmgr, null);
|
||||
}
|
||||
|
||||
// documentation inherited from interface RunQueue
|
||||
public void postRunnable (Runnable run)
|
||||
{
|
||||
// queue it on up on the awt thread
|
||||
EventQueue.invokeLater(run);
|
||||
}
|
||||
|
||||
// documentation inherited from interface RunQueue
|
||||
public boolean isDispatchThread ()
|
||||
{
|
||||
return EventQueue.isDispatchThread();
|
||||
}
|
||||
|
||||
/**
|
||||
* The context implementation. This provides access to all of the
|
||||
* objects and services that are needed by the operating client.
|
||||
|
||||
@@ -49,7 +49,7 @@ import com.threerings.micasa.client.MiCasaFrame;
|
||||
import com.threerings.micasa.util.MiCasaContext;
|
||||
|
||||
public class SimpleClient
|
||||
implements RunQueue, SimulatorClient
|
||||
implements SimulatorClient
|
||||
{
|
||||
public SimpleClient (SimulatorFrame frame)
|
||||
throws IOException
|
||||
@@ -58,7 +58,7 @@ public class SimpleClient
|
||||
_ctx = createContext();
|
||||
|
||||
// create the handles on our various services
|
||||
_client = new Client(null, this);
|
||||
_client = new Client(null, RunQueue.AWT);
|
||||
|
||||
// create our managers and directors
|
||||
_msgmgr = new MessageManager(getMessageManagerPrefix());
|
||||
@@ -108,19 +108,6 @@ public class SimpleClient
|
||||
return _ctx;
|
||||
}
|
||||
|
||||
// documentation inherited from interface RunQueue
|
||||
public void postRunnable (Runnable run)
|
||||
{
|
||||
// queue it on up on the awt thread
|
||||
EventQueue.invokeLater(run);
|
||||
}
|
||||
|
||||
// documentation inherited from interface RunQueue
|
||||
public boolean isDispatchThread ()
|
||||
{
|
||||
return EventQueue.isDispatchThread();
|
||||
}
|
||||
|
||||
/**
|
||||
* The context implementation. This provides access to all of the
|
||||
* objects and services that are needed by the operating client.
|
||||
|
||||
Reference in New Issue
Block a user