T - the type object being subscribed to.public interface Subscriber<T extends DObject>
To actually receive callbacks when events are dispatched on a distributed object, an entity should register itself as a listener on the object once it has received its object reference.
EventListener,
AttributeChangeListener,
SetListener,
OidListListener| Modifier and Type | Method and Description |
|---|---|
void |
objectAvailable(T object)
Called when a subscription request has succeeded and the object is
available.
|
void |
requestFailed(int oid,
ObjectAccessException cause)
Called when a subscription request has failed.
|
void objectAvailable(T object)
DObject.addListener(com.threerings.presents.dobj.ChangeListener)).void requestFailed(int oid,
ObjectAccessException cause)
ObjectAccessException.Copyright © 2015. All rights reserved.