Import cleanups

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5399 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2008-09-26 17:29:59 +00:00
parent c04adc6a6e
commit 8856120403
131 changed files with 261 additions and 242 deletions
@@ -21,12 +21,14 @@
package com.threerings.bureau.client;
import com.threerings.presents.client.Client;
import com.samskivert.util.Config;
import com.samskivert.util.RunQueue;
import com.threerings.presents.client.Client;
import com.threerings.presents.dobj.DObjectManager;
import com.threerings.bureau.data.BureauCredentials;
import com.threerings.bureau.util.BureauContext;
import com.threerings.presents.dobj.DObjectManager;
import com.samskivert.util.Config;
/**
* Represents a client embedded in a bureau.
@@ -1,16 +1,18 @@
package com.threerings.bureau.client;
import com.threerings.presents.client.BasicDirector;
import com.threerings.bureau.data.BureauCodes;
import com.samskivert.util.IntMap;
import com.samskivert.util.IntMaps;
import com.threerings.bureau.data.AgentObject;
import com.threerings.bureau.server.BureauRegistry;
import com.threerings.bureau.util.BureauContext;
import com.threerings.presents.client.BasicDirector;
import com.threerings.presents.client.Client;
import com.threerings.presents.dobj.ObjectAccessException;
import com.threerings.presents.dobj.Subscriber;
import com.threerings.presents.util.SafeSubscriber;
import com.threerings.presents.dobj.ObjectAccessException;
import com.threerings.bureau.data.AgentObject;
import com.threerings.bureau.data.BureauCodes;
import com.threerings.bureau.server.BureauRegistry;
import com.threerings.bureau.util.BureauContext;
import static com.threerings.bureau.Log.log;
@@ -21,9 +21,10 @@
package com.threerings.bureau.client;
import com.threerings.bureau.data.AgentObject;
import com.threerings.presents.client.InvocationReceiver;
import com.threerings.bureau.data.AgentObject;
/**
* Hooks for controlling a previously launched bureau client.
*/
@@ -21,9 +21,10 @@
package com.threerings.bureau.data;
import com.threerings.presents.net.Credentials;
import com.threerings.util.Name;
import com.threerings.presents.net.Credentials;
/**
* Extends the basic credentials to provide bureau-specific fields.
*/
@@ -21,10 +21,11 @@
package com.threerings.bureau.data;
import com.threerings.bureau.client.BureauService;
import com.threerings.presents.client.Client;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.bureau.client.BureauService;
/**
* Provides the implementation of the {@link BureauService} interface
* that marshalls the arguments and delivers the request to the provider
@@ -1,6 +1,5 @@
package com.threerings.bureau.server;
import com.threerings.bureau.data.BureauCredentials;
import com.threerings.presents.data.AuthCodes;
import com.threerings.presents.net.AuthRequest;
import com.threerings.presents.net.AuthResponse;
@@ -8,6 +7,8 @@ import com.threerings.presents.net.AuthResponseData;
import com.threerings.presents.server.ChainedAuthenticator;
import com.threerings.presents.server.net.AuthingConnection;
import com.threerings.bureau.data.BureauCredentials;
import static com.threerings.bureau.Log.log;
/**
@@ -21,11 +21,12 @@
package com.threerings.bureau.server;
import com.threerings.bureau.data.BureauMarshaller;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.InvocationDispatcher;
import com.threerings.presents.server.InvocationException;
import com.threerings.bureau.data.BureauMarshaller;
/**
* Dispatches requests to the {@link BureauProvider}.
*/
@@ -21,10 +21,11 @@
package com.threerings.bureau.server;
import com.threerings.bureau.client.BureauService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.InvocationProvider;
import com.threerings.bureau.client.BureauService;
/**
* Defines the server-side of the {@link BureauService}.
*/
@@ -21,9 +21,9 @@
package com.threerings.bureau.server;
import java.io.IOException;
import java.util.Map;
import java.util.Set;
import java.io.IOException;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
@@ -31,10 +31,10 @@ import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.samskivert.util.Interval;
import com.samskivert.util.RunQueue;
import com.samskivert.util.StringUtil;
import com.samskivert.util.Invoker;
import com.samskivert.util.ProcessLogger;
import com.samskivert.util.RunQueue;
import com.samskivert.util.StringUtil;
import com.threerings.presents.annotation.MainInvoker;
import com.threerings.presents.data.ClientObject;
@@ -21,11 +21,12 @@
package com.threerings.bureau.server;
import com.threerings.bureau.client.BureauDecoder;
import com.threerings.bureau.client.BureauReceiver;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.InvocationSender;
import com.threerings.bureau.client.BureauDecoder;
import com.threerings.bureau.client.BureauReceiver;
/**
* Used to issue notifications to a {@link BureauReceiver} instance on a
* client.
@@ -22,6 +22,7 @@
package com.threerings.bureau.util;
import com.threerings.presents.util.PresentsContext;
import com.threerings.bureau.client.BureauDirector;
/**