toString()stravaganza!

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@77 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-07-19 19:30:14 +00:00
parent 41488822dc
commit e912b18e27
18 changed files with 105 additions and 20 deletions
@@ -1,5 +1,5 @@
//
// $Id: PresentsClient.java,v 1.8 2001/07/19 18:08:20 mdb Exp $
// $Id: PresentsClient.java,v 1.9 2001/07/19 19:30:14 mdb Exp $
package com.threerings.cocktail.cher.server;
@@ -245,6 +245,12 @@ public class Client implements Subscriber, MessageHandler
return true;
}
public String toString ()
{
return "[username=" + _username + ", conn=" + _conn +
", cloid=" + ((_clobj == null) ? -1 : _clobj.getOid()) + "]";
}
/**
* Message dispatchers are used to dispatch each different type of
* upstream message. We can look the dispatcher up in a table and
@@ -1,5 +1,5 @@
//
// $Id: PresentsDObjectMgr.java,v 1.7 2001/07/19 19:18:07 mdb Exp $
// $Id: PresentsDObjectMgr.java,v 1.8 2001/07/19 19:30:14 mdb Exp $
package com.threerings.cocktail.cher.server;
@@ -210,8 +210,7 @@ public class CherDObjectMgr implements DObjectManager
// insert it into the table
_objects.put(oid, obj);
Log.info("Created object [oid=" + oid +
", obj=" + obj + "].");
Log.info("Created object [obj=" + obj + "].");
if (_target != null) {
// add the subscriber to this object's subscriber list