DObjectManager: added unsubscribeFromObject() for subscribers that wish to

unsubscribe in the absence of a reference to the object in question and
potentially from an unsavory thread.

Client, ClientManager, etc.: Further work on the server-side of the
distributed part of the distributed object functionality.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@27 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-06-05 22:44:31 +00:00
parent 03e2dbc9cb
commit 029712985e
8 changed files with 323 additions and 29 deletions
@@ -1,5 +1,5 @@
//
// $Id: DObjectManager.java,v 1.3 2001/06/01 07:12:13 mdb Exp $
// $Id: DObjectManager.java,v 1.4 2001/06/05 22:44:31 mdb Exp $
package com.threerings.cocktail.cher.dobj;
@@ -68,6 +68,16 @@ public interface DObjectManager
*/
public void fetchObject (int oid, Subscriber target);
/**
* Requests that the specified subscriber be unsubscribed from the
* object identified by the supplied object id.
*
* @param oid The object id of the distributed object from which
* unsubscription is desired.
* @param target The subscriber to be unsubscribed.
*/
public void unsubscribeFromObject (int oid, Subscriber target);
/**
* Posts a distributed object event into the system. Instead of
* requesting the modification of a distributed object attribute by