Cleanup some unused stuff & mark some overrides.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5547 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -36,7 +36,6 @@ import com.samskivert.util.Histogram;
|
||||
import com.samskivert.util.IntMap;
|
||||
import com.samskivert.util.IntMaps;
|
||||
import com.samskivert.util.Interval;
|
||||
import com.samskivert.util.Invoker;
|
||||
import com.samskivert.util.Queue;
|
||||
import com.samskivert.util.RunQueue;
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
@@ -28,14 +28,11 @@ import java.security.NoSuchAlgorithmException;
|
||||
|
||||
import java.io.EOFException;
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.channels.SelectionKey;
|
||||
import java.nio.channels.SocketChannel;
|
||||
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
import com.threerings.io.FramedInputStream;
|
||||
import com.threerings.io.FramingOutputStream;
|
||||
import com.threerings.io.ObjectInputStream;
|
||||
|
||||
@@ -61,8 +61,6 @@ import com.threerings.io.UnreliableObjectOutputStream;
|
||||
import com.threerings.presents.annotation.AuthInvoker;
|
||||
import com.threerings.presents.client.Client;
|
||||
import com.threerings.presents.data.ConMgrStats;
|
||||
import com.threerings.presents.net.AuthRequest;
|
||||
import com.threerings.presents.net.AuthResponse;
|
||||
import com.threerings.presents.net.Message;
|
||||
import com.threerings.presents.server.Authenticator;
|
||||
import com.threerings.presents.server.ChainedAuthenticator;
|
||||
@@ -335,7 +333,6 @@ public class ConnectionManager extends LoopingThread
|
||||
protected void willStart ()
|
||||
{
|
||||
int successes = 0;
|
||||
IOException failure = null;
|
||||
for (int port : _ports) {
|
||||
try {
|
||||
// create a listening socket and add it to the select set
|
||||
@@ -350,7 +347,6 @@ public class ConnectionManager extends LoopingThread
|
||||
|
||||
} catch (IOException ioe) {
|
||||
log.warning("Failure listening to socket on port '" + port + "'.", ioe);
|
||||
failure = ioe;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ public class ServerCommunicator extends Communicator
|
||||
|
||||
@Override public void networkFailure (final IOException ioe) {
|
||||
notifyClientObservers(new ObserverOps.Client(_client) {
|
||||
protected void notify (ClientObserver obs) {
|
||||
@Override protected void notify (ClientObserver obs) {
|
||||
obs.clientConnectionFailed(_client, ioe);
|
||||
}
|
||||
});
|
||||
@@ -186,7 +186,7 @@ public class ServerCommunicator extends Communicator
|
||||
if (_logonError == null) {
|
||||
// we were logged on successfully, so report didLogoff first
|
||||
notifyClientObservers(new ObserverOps.Session(_client) {
|
||||
protected void notify (SessionObserver obs) {
|
||||
@Override protected void notify (SessionObserver obs) {
|
||||
obs.clientDidLogoff(_client);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user