Add a better toString, for debugging.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5963 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2009-09-17 23:16:22 +00:00
parent 53f1dff95d
commit f75d46f75f
+5
View File
@@ -125,6 +125,11 @@ public class Streamer
(obj as Streamable).readObject(ins);
}
public function toString () :String
{
return "[Streamer(" + _jname + ")]";
}
protected static function registerStreamer (st :Streamer) :void
{
_byJName[st.getJavaClassName()] = st;