Commented out some debug logging.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@190 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-08-07 21:25:13 +00:00
parent 71de825456
commit 5320567957
2 changed files with 11 additions and 9 deletions
@@ -1,5 +1,5 @@
// //
// $Id: PresentsClient.java,v 1.16 2001/08/07 21:20:48 mdb Exp $ // $Id: PresentsClient.java,v 1.17 2001/08/07 21:25:13 mdb Exp $
package com.threerings.cocktail.cher.server; package com.threerings.cocktail.cher.server;
@@ -479,8 +479,9 @@ public class CherClient implements Subscriber, MessageHandler
public void dispatch (CherClient client, UpstreamMessage msg) public void dispatch (CherClient client, UpstreamMessage msg)
{ {
SubscribeRequest req = (SubscribeRequest)msg; SubscribeRequest req = (SubscribeRequest)msg;
Log.info("Subscribing [client=" + client + // Log.info("Subscribing [client=" + client +
", oid=" + req.getOid() + "]."); // ", oid=" + req.getOid() + "].");
// forward the subscribe request to the omgr for processing // forward the subscribe request to the omgr for processing
CherServer.omgr.subscribeToObject(req.getOid(), client); CherServer.omgr.subscribeToObject(req.getOid(), client);
} }
@@ -494,8 +495,9 @@ public class CherClient implements Subscriber, MessageHandler
public void dispatch (CherClient client, UpstreamMessage msg) public void dispatch (CherClient client, UpstreamMessage msg)
{ {
UnsubscribeRequest req = (UnsubscribeRequest)msg; UnsubscribeRequest req = (UnsubscribeRequest)msg;
Log.info("Unsubscribing [client=" + client + // Log.info("Unsubscribing [client=" + client +
", oid=" + req.getOid() + "]."); // ", oid=" + req.getOid() + "].");
// forward the unsubscribe request to the omgr for processing // forward the unsubscribe request to the omgr for processing
CherServer.omgr.unsubscribeFromObject(req.getOid(), client); CherServer.omgr.unsubscribeFromObject(req.getOid(), client);
// update our subscription tracking table // update our subscription tracking table
@@ -1,5 +1,5 @@
// //
// $Id: PresentsDObjectMgr.java,v 1.10 2001/08/07 20:38:58 mdb Exp $ // $Id: PresentsDObjectMgr.java,v 1.11 2001/08/07 21:25:13 mdb Exp $
package com.threerings.cocktail.cher.server; package com.threerings.cocktail.cher.server;
@@ -172,8 +172,8 @@ public class CherDObjectMgr implements DObjectManager
*/ */
public void objectDestroyed (DEvent event, DObject target) public void objectDestroyed (DEvent event, DObject target)
{ {
Log.info("Removing destroyed object from table " + // Log.info("Removing destroyed object from table " +
"[oid=" + target.getOid() + "]."); // "[oid=" + target.getOid() + "].");
_objects.remove(target.getOid()); _objects.remove(target.getOid());
} }
@@ -224,7 +224,7 @@ public class CherDObjectMgr implements DObjectManager
// insert it into the table // insert it into the table
_objects.put(oid, obj); _objects.put(oid, obj);
Log.info("Created object [obj=" + obj + "]."); // Log.info("Created object [obj=" + obj + "].");
if (_target != null) { if (_target != null) {
// add the subscriber to this object's subscriber list // add the subscriber to this object's subscriber list