Added proxied object support to the distributed object manager framework. This

exposes the need to write a Client that is optimized to act as a proxy instead
of just using the one that is designed to run on a user's machine. However,
this will be fine for now. Integration with PeerManager forthcoming.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4530 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-02-03 01:14:17 +00:00
parent 3d125f64a8
commit e1c5d01afd
2 changed files with 70 additions and 6 deletions
@@ -223,6 +223,12 @@ public class ClientDObjectMgr
return;
}
// because we might be acting as a proxy between servers, we rewrite the event's target oid
// using the oid currently configured on the distributed object (we will have it mapped in
// our remote server's oid space, but it may have been remapped into the oid space of the
// local server)
event.setTargetOid(target.getOid());
try {
// apply the event to the object
boolean notify = event.applyToObject(target);