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: Subscriber.java,v 1.3 2001/06/02 01:30:37 mdb Exp $
// $Id: Subscriber.java,v 1.4 2001/06/09 23:39:04 mdb Exp $
package com.threerings.cocktail.cher.dobj;
@@ -22,17 +22,15 @@ public interface Subscriber
* should not attempt to modify the object.
*
* @see DObjectManager.subscribeToObject
* @see DObjectManager.fetchObject
*/
public void objectAvailable (DObject object);
/**
* Called when a subscription or fetch request has failed. The nature
* of the failure will be communicated via the supplied
* Called when a subscription request has failed. The nature of the
* failure will be communicated via the supplied
* <code>ObjectAccessException</code>.
*
* @see DObjectManager.subscribeToObject
* @see DObjectManager.fetchObject
*/
public void requestFailed (int oid, ObjectAccessException cause);