Created ServerCommunicator which does all I/O using the ConnectionManager's

polled socket system. This much more cleanly and efficiently integrates peer
(and other server to server) connections into the normal server I/O framework
and should also eliminate for good the annoying server hangs that result when
our old blocking client I/O threads got their pants wedged.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5510 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-11-07 00:27:07 +00:00
parent b81ccde75b
commit 89f02fc728
16 changed files with 777 additions and 594 deletions
@@ -22,16 +22,15 @@
package com.threerings.presents.net;
/**
* This class encapsulates a message in the distributed object protocol
* that flows from the server to the client. Downstream messages include
* object subscription, event forwarding and session management.
* This class encapsulates a message in the distributed object protocol that flows from the server
* to the client. Downstream messages include object subscription, event forwarding and session
* management.
*/
public abstract class DownstreamMessage extends Message
{
/**
* The message id of the upstream message with which this downstream
* message is associated (or -1 if it is not associated with any
* upstream message).
* The message id of the upstream message with which this downstream message is associated (or
* -1 if it is not associated with any upstream message).
*/
public short messageId = -1;