Log the local oid assigned to all proxied objects so that we can see if

something funny is happening with spurious objects dispatched across servers.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4657 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-04-10 00:51:17 +00:00
parent 1fd540ab48
commit b24fd5c408
@@ -123,6 +123,9 @@ public class PresentsDObjectMgr
int origObjectId = object.getOid();
// register the object locally which will reassign its oid and set us as its manager
registerObject(object);
// TEMP: log all proxied objects while we look into weirdness
log.info("Proxying " + origObjectId + " as " + object.getOid() +
" [type=" + object.getClass().getName() + "].");
// and note a proxy reference for the object which we'll use to forward events back to its
// originating manager after converting them back to the original oid
_proxies.put(origObjectId, new ProxyReference(object.getOid(), omgr));