|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.presents.server.PresentsSession.ClientProxy
protected class PresentsSession.ClientProxy
Used to track information about an object subscription.
| Field Summary | |
|---|---|
protected long |
_firstEventId
|
protected PresentsConnection |
_oconn
|
DObject |
object
|
| Constructor Summary | |
|---|---|
protected |
PresentsSession.ClientProxy()
|
| 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. |
void |
objectAvailable(DObject dobj)
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 |
unsubscribe()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public DObject object
protected long _firstEventId
protected PresentsConnection _oconn
| Constructor Detail |
|---|
protected PresentsSession.ClientProxy()
| Method Detail |
|---|
public void unsubscribe()
public void objectAvailable(DObject dobj)
SubscriberDObject.addListener(com.threerings.presents.dobj.ChangeListener)).
objectAvailable in interface Subscriber<DObject>DObjectManager.subscribeToObject(int, com.threerings.presents.dobj.Subscriber)
public void requestFailed(int oid,
ObjectAccessException cause)
SubscriberObjectAccessException.
requestFailed in interface Subscriber<DObject>DObjectManager.subscribeToObject(int, com.threerings.presents.dobj.Subscriber) public void eventReceived(DEvent event)
ProxySubscriber
eventReceived in interface ProxySubscriberevent - The event that was dispatched on the object.public ClientObject getClientObject()
ProxySubscriber
getClientObject in interface ProxySubscriber
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||