Generated readObject()/writeObject(), widened some things along the way.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4689 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-05-04 22:17:41 +00:00
parent ea8bf25c0a
commit a60a71552a
11 changed files with 307 additions and 66 deletions
@@ -21,6 +21,10 @@
package com.threerings.presents.peer.data;
import java.io.IOException;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.io.SimpleStreamableObject;
import com.threerings.util.Name;
@@ -40,4 +44,20 @@ public class ClientInfo extends SimpleStreamableObject
{
return username;
}
// AUTO-GENERATED: METHODS START
// from interface Streamable
public void readObject (ObjectInputStream ins)
throws IOException, ClassNotFoundException
{
username = (Name)ins.readObject();
}
// from interface Streamable
public void writeObject (ObjectOutputStream out)
throws IOException
{
out.writeObject(username);
}
// AUTO-GENERATED: METHODS END
}