Scratch that. The plot is thicker. I'll have to take the pain to support mixed

readObject()/no-readObject() havers otherwise everyone everywhere will have to
generate streamer methods which is way too big a PITA. Grumble.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4690 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-05-04 22:25:41 +00:00
parent a60a71552a
commit ae1e7dc4a8
11 changed files with 0 additions and 257 deletions
@@ -21,10 +21,6 @@
package com.threerings.presents.data;
import java.io.IOException;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.io.SimpleStreamableObject;
/**
@@ -74,38 +70,4 @@ public class ConMgrStats extends SimpleStreamableObject
throw new RuntimeException(cnse);
}
}
// AUTO-GENERATED: METHODS START
// from interface Streamable
public void readObject (ObjectInputStream ins)
throws IOException, ClassNotFoundException
{
authQueueSize = ins.readInt();
deathQueueSize = ins.readInt();
outQueueSize = ins.readInt();
overQueueSize = ins.readInt();
connects = ins.readInt();
disconnects = ins.readInt();
bytesIn = ins.readLong();
bytesOut = ins.readLong();
msgsIn = ins.readInt();
msgsOut = ins.readInt();
}
// from interface Streamable
public void writeObject (ObjectOutputStream out)
throws IOException
{
out.writeInt(authQueueSize);
out.writeInt(deathQueueSize);
out.writeInt(outQueueSize);
out.writeInt(overQueueSize);
out.writeInt(connects);
out.writeInt(disconnects);
out.writeLong(bytesIn);
out.writeLong(bytesOut);
out.writeInt(msgsIn);
out.writeInt(msgsOut);
}
// AUTO-GENERATED: METHODS END
}
@@ -21,12 +21,8 @@
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;
@@ -246,24 +242,6 @@ public class InvocationMarshaller
return "[invOid=" + _invOid + ", code=" + _invCode + ", type=" + getClass().getName() + "]";
}
// AUTO-GENERATED: METHODS START
// from interface Streamable
public void readObject (ObjectInputStream ins)
throws IOException, ClassNotFoundException
{
_invOid = ins.readInt();
_invCode = ins.readInt();
}
// from interface Streamable
public void writeObject (ObjectOutputStream out)
throws IOException
{
out.writeInt(_invOid);
out.writeInt(_invCode);
}
// AUTO-GENERATED: METHODS END
/**
* Called by generated invocation marshaller code; packages up and sends the specified
* invocation service request.