Further wired up the client side of the distributed object system. Removed

the facilities for fetching (without subscribing to) an object. This is
done extremely rarely and the user might as well just subscribe and
immediately unsubscribe because the dichotomy between fetching and
subscribing just served to overly complicate the internals for no good
reason.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@30 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-06-09 23:39:04 +00:00
parent 06f6fa26d5
commit 6a1de87f2a
20 changed files with 574 additions and 189 deletions
@@ -1,5 +1,5 @@
//
// $Id: DObjectManager.java,v 1.4 2001/06/05 22:44:31 mdb Exp $
// $Id: DObjectManager.java,v 1.5 2001/06/09 23:39:04 mdb Exp $
package com.threerings.cocktail.cher.dobj;
@@ -49,25 +49,6 @@ public interface DObjectManager
*/
public void subscribeToObject (int oid, Subscriber target);
/**
* Fetches an up-to-date copy of the specified distributed object and
* makes it available to the subscriber for a one-time access. The
* subscriber will not be added to the object's subscriber list and
* will not be notified of updates to the object and the object
* represents a snapshot in time which, it should be acknowledged,
* could be out of date by the time it reaches the subscriber. If the
* object cannot be fetched for some reason, the subscriber will be
* notified via <code>requestFailed</code>.
*
* @param oid The object id of the distributed object of which a
* snapshot is desired.
* @param target The subscriber that will receive the snapshot.
*
* @see Subscriber.objectAvailable
* @see Subscriber.requestFailed
*/
public void fetchObject (int oid, Subscriber target);
/**
* Requests that the specified subscriber be unsubscribed from the
* object identified by the supplied object id.