Bye bye to all the hand-serialization code. Yay!

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2077 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-12-20 23:28:24 +00:00
parent 00baff9000
commit 70a79f48e9
15 changed files with 26 additions and 290 deletions
@@ -1,5 +1,5 @@
//
// $Id: ObjectResponse.java,v 1.12 2002/07/23 05:52:48 mdb Exp $
// $Id: ObjectResponse.java,v 1.13 2002/12/20 23:28:24 mdb Exp $
package com.threerings.presents.net;
@@ -33,26 +33,6 @@ public class ObjectResponse extends DownstreamMessage
return _dobj;
}
/**
* Writes our custom streamable fields.
*/
public void writeObject (ObjectOutputStream out)
throws IOException
{
super.writeObject(out);
out.writeObject(_dobj);
}
/**
* Reads our custom streamable fields.
*/
public void readObject (ObjectInputStream in)
throws IOException, ClassNotFoundException
{
super.readObject(in);
_dobj = (DObject)in.readObject();
}
public String toString ()
{
return "[type=ORSP, msgid=" + messageId + ", obj=" + _dobj + "]";