Commented a few classes as abstract,
debugging.. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3878 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -76,7 +76,7 @@ public class ClientDObjectMgr
|
||||
_flushInterval.addEventListener(TimerEvent.TIMER, flushObjects);
|
||||
_flushInterval.start();
|
||||
|
||||
_actionInterval = new Timer(1); //TODO!
|
||||
_actionInterval = new Timer(500); //TODO!
|
||||
_actionInterval.addEventListener(TimerEvent.TIMER, processNextAction);
|
||||
_actionInterval.start();
|
||||
}
|
||||
|
||||
@@ -10,6 +10,8 @@ import flash.net.Socket;
|
||||
import flash.util.ByteArray;
|
||||
import flash.util.Endian;
|
||||
|
||||
import com.threerings.util.Util;
|
||||
|
||||
import com.threerings.io.FrameAvailableEvent;
|
||||
import com.threerings.io.FrameReader;
|
||||
import com.threerings.io.ObjectInputStream;
|
||||
@@ -90,6 +92,8 @@ public class Communicator
|
||||
// write the message (ends up in _outBuffer)
|
||||
_outStream.writeObject(msg);
|
||||
|
||||
trace("outBuffer: " + Util.bytesToString(_outBuffer));
|
||||
|
||||
// frame it by writing the length, then the bytes
|
||||
_socket.writeInt(_outBuffer.length);
|
||||
_socket.writeBytes(_outBuffer);
|
||||
|
||||
Reference in New Issue
Block a user