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:
@@ -123,6 +123,9 @@ public class PresentsDObjectMgr
|
|||||||
int origObjectId = object.getOid();
|
int origObjectId = object.getOid();
|
||||||
// register the object locally which will reassign its oid and set us as its manager
|
// register the object locally which will reassign its oid and set us as its manager
|
||||||
registerObject(object);
|
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
|
// 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
|
// originating manager after converting them back to the original oid
|
||||||
_proxies.put(origObjectId, new ProxyReference(object.getOid(), omgr));
|
_proxies.put(origObjectId, new ProxyReference(object.getOid(), omgr));
|
||||||
|
|||||||
Reference in New Issue
Block a user