More style changes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5248 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-07-22 13:02:13 +00:00
parent 09f8a25876
commit c743432676
38 changed files with 155 additions and 193 deletions
@@ -945,7 +945,7 @@ public class ConnectionManager extends LoopingThread
/** Used to handle partial writes in {@link #writeMessage}. */
protected static interface PartialWriteHandler
{
public void handlePartialWrite (Connection conn, ByteBuffer buffer);
void handlePartialWrite (Connection conn, ByteBuffer buffer);
}
/**
@@ -46,8 +46,7 @@ public interface ConnectionObserver
* @param req The auth request provided by the client.
* @param rsp The auth response provided to the client.
*/
public void connectionEstablished (
Connection conn, AuthRequest req, AuthResponse rsp);
void connectionEstablished (Connection conn, AuthRequest req, AuthResponse rsp);
/**
* Called if a connection fails for any reason. If a connection fails,
@@ -58,12 +57,12 @@ public interface ConnectionObserver
* @param conn The connection in that failed.
* @param fault The exception associated with the failure.
*/
public void connectionFailed (Connection conn, IOException fault);
void connectionFailed (Connection conn, IOException fault);
/**
* Called when a connection has been closed in an orderly manner.
*
* @param conn The recently closed connection.
*/
public void connectionClosed (Connection conn);
void connectionClosed (Connection conn);
}
@@ -33,5 +33,5 @@ public interface MessageHandler
* Called when a complete message has been parsed from incoming
* network data.
*/
public void handleMessage (UpstreamMessage message);
void handleMessage (UpstreamMessage message);
}
@@ -41,7 +41,7 @@ public interface NetEventHandler
* @return the number of bytes read from the network as a result of
* handling this event.
*/
public int handleEvent (long when);
int handleEvent (long when);
/**
* Called to ensure that this channel has not been idle for longer
@@ -50,5 +50,5 @@ public interface NetEventHandler
* @return true if the handler is idle (in which case it will be
* closed shortly), false if it is not.
*/
public boolean checkIdle (long now);
boolean checkIdle (long now);
}