com.threerings.presents.dobj
Interface ProxySubscriber

All Superinterfaces:
Subscriber<DObject>
All Known Implementing Classes:
PresentsSession.ClientProxy

public interface ProxySubscriber
extends Subscriber<DObject>

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 along to the subscriber for delivery to its subordinate manager.

See Also:
DObject.addListener(com.threerings.presents.dobj.ChangeListener)

Method Summary
 void eventReceived(DEvent event)
          Called when any event has been dispatched on an object.
 ClientObject getClientObject()
          Returns the client object that represents the subscriber for whom we are proxying.
 
Methods inherited from interface com.threerings.presents.dobj.Subscriber
objectAvailable, requestFailed
 

Method Detail

eventReceived

void eventReceived(DEvent event)
Called when any event has been dispatched on an object.

Parameters:
event - The event that was dispatched on the object.

getClientObject

ClientObject getClientObject()
Returns the client object that represents the subscriber for whom we are proxying.