Checkpoint. Closing in on getting a chat client up, but slogging through
annoying streaming issues. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3984 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -109,7 +109,7 @@ public class InvocationRequestEvent extends DEvent
|
||||
super.writeObject(out);
|
||||
out.writeInt(_invCode);
|
||||
out.writeByte(_methodId);
|
||||
out.writeObject(_args);
|
||||
out.writeField(_args);
|
||||
}
|
||||
|
||||
// documentation inherited from interface Streamable
|
||||
@@ -118,7 +118,7 @@ public class InvocationRequestEvent extends DEvent
|
||||
super.readObject(ins);
|
||||
_invCode = ins.readInt();
|
||||
_methodId = ins.readByte();
|
||||
_args = (ins.readObject() as Array);
|
||||
_args = (ins.readField(Array) as Array);
|
||||
}
|
||||
|
||||
/** The code identifying which invocation provider to which this
|
||||
|
||||
@@ -45,7 +45,8 @@ public class InvocationResponseEvent extends DEvent
|
||||
* only values of valid distributed object types.
|
||||
*/
|
||||
public function InvocationResponseEvent (
|
||||
targetOid :int, requestId :int, methodId :int, args :Array)
|
||||
targetOid :int = 0, requestId :int = 0, methodId :int = 0,
|
||||
args :Array = null)
|
||||
{
|
||||
super(targetOid);
|
||||
_requestId = requestId;
|
||||
@@ -109,7 +110,7 @@ public class InvocationResponseEvent extends DEvent
|
||||
super.writeObject(out);
|
||||
out.writeShort(_requestId);
|
||||
out.writeByte(_methodId);
|
||||
out.writeObject(_args);
|
||||
out.writeField(_args);
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
@@ -118,7 +119,7 @@ public class InvocationResponseEvent extends DEvent
|
||||
super.readObject(ins);
|
||||
_requestId = ins.readShort();
|
||||
_methodId = ins.readByte();
|
||||
_args = (ins.readObject() as Array);
|
||||
_args = (ins.readField(Array) as Array);
|
||||
}
|
||||
|
||||
/** The id of the request with which this response is associated. */
|
||||
|
||||
Reference in New Issue
Block a user