Fix longstanding annoyance with proxy subscriber access control checking. If

we're proxying for a client, we now have to give up our ClientObject to anyone
who wants it, so that they can do access control checks.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5593 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-12-11 01:11:04 +00:00
parent df5f5ace27
commit f2b30890f9
3 changed files with 21 additions and 7 deletions
@@ -21,6 +21,8 @@
package com.threerings.presents.dobj;
import com.threerings.presents.data.ClientObject;
/**
* Defines a special kind of subscriber that proxies events for a subordinate distributed object
* manager. All events dispatched on objects with which this subscriber is registered are passed
@@ -36,4 +38,9 @@ public interface ProxySubscriber extends Subscriber<DObject>
* @param event The event that was dispatched on the object.
*/
void eventReceived (DEvent event);
/**
* Returns the client object that represents the subscriber for whom we are proxying.
*/
ClientObject getClientObject ();
}