More revamped serialization cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2079 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
//
|
||||
// $Id: InvocationMarshaller.java,v 1.3 2002/12/08 02:18:50 mdb Exp $
|
||||
// $Id: InvocationMarshaller.java,v 1.4 2002/12/20 23:41:26 mdb Exp $
|
||||
|
||||
package com.threerings.presents.data;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
import com.threerings.io.ObjectInputStream;
|
||||
import com.threerings.io.ObjectOutputStream;
|
||||
import com.threerings.io.Streamable;
|
||||
|
||||
import com.threerings.presents.Log;
|
||||
@@ -129,26 +125,6 @@ public class InvocationMarshaller
|
||||
_invOid, _invCode, methodId, args);
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes this instance to the supplied output stream.
|
||||
*/
|
||||
public void writeObject (ObjectOutputStream out)
|
||||
throws IOException
|
||||
{
|
||||
out.writeInt(_invOid);
|
||||
out.writeShort(_invCode);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads this instance from the supplied input stream.
|
||||
*/
|
||||
public void readObject (ObjectInputStream in)
|
||||
throws IOException
|
||||
{
|
||||
_invOid = in.readInt();
|
||||
_invCode = in.readShort();
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a string representation of this instance.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user