Match some changes on the java side (No effect).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4343 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -91,13 +91,6 @@ public class ClientDObjectMgr
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// inherit documentation from the interface DObjectManager
|
|
||||||
public function createObject (dclass :Class, target :Subscriber) :void
|
|
||||||
{
|
|
||||||
// not presently supported
|
|
||||||
throw new Error("createObject() not supported");
|
|
||||||
}
|
|
||||||
|
|
||||||
// inherit documentation from the interface DObjectManager
|
// inherit documentation from the interface DObjectManager
|
||||||
public function subscribeToObject (oid :int, target :Subscriber) :void
|
public function subscribeToObject (oid :int, target :Subscriber) :void
|
||||||
{
|
{
|
||||||
@@ -129,13 +122,6 @@ public class ClientDObjectMgr
|
|||||||
_comm.postMessage(new ForwardEventRequest(event));
|
_comm.postMessage(new ForwardEventRequest(event));
|
||||||
}
|
}
|
||||||
|
|
||||||
// inherit documentation from the interface
|
|
||||||
public function destroyObject (oid :int) :void
|
|
||||||
{
|
|
||||||
// forward an object destroyed event to the server
|
|
||||||
postEvent(new ObjectDestroyedEvent(oid));
|
|
||||||
}
|
|
||||||
|
|
||||||
// inherit documentation from the interface
|
// inherit documentation from the interface
|
||||||
public function removedLastSubscriber (
|
public function removedLastSubscriber (
|
||||||
obj :DObject, deathWish :Boolean) :void
|
obj :DObject, deathWish :Boolean) :void
|
||||||
|
|||||||
@@ -18,22 +18,6 @@ public interface DObjectManager
|
|||||||
*/
|
*/
|
||||||
function isManager (obj :DObject) :Boolean;
|
function isManager (obj :DObject) :Boolean;
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a distributed object instance of the supplied class and
|
|
||||||
* notifies the specified subscriber when it becomes available. This
|
|
||||||
* is the proper mechanism for constructing a new distributed object
|
|
||||||
* as it is the only way in which it can be properly registered with
|
|
||||||
* the dobj system.
|
|
||||||
*
|
|
||||||
* @param dclass The class object of the derived class of
|
|
||||||
* <code>DObject</code> (or <code>DObject.class</code> itself) that
|
|
||||||
* should be instantiated.
|
|
||||||
* @param target The subscriber to be notified when the object is
|
|
||||||
* created and available, or if there was a problem creating the
|
|
||||||
* object.
|
|
||||||
*/
|
|
||||||
function createObject (dclass :Class, target :Subscriber) :void;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Requests that the specified subscriber be subscribed to the object
|
* Requests that the specified subscriber be subscribed to the object
|
||||||
* identified by the supplied object id. That subscriber will be
|
* identified by the supplied object id. That subscriber will be
|
||||||
@@ -59,15 +43,6 @@ public interface DObjectManager
|
|||||||
*/
|
*/
|
||||||
function unsubscribeFromObject (oid :int, target :Subscriber) :void;
|
function unsubscribeFromObject (oid :int, target :Subscriber) :void;
|
||||||
|
|
||||||
/**
|
|
||||||
* Requests that the specified object be destroyed. Once destroyed an
|
|
||||||
* object is removed from the runtime system and may no longer have
|
|
||||||
* events dispatched on it.
|
|
||||||
*
|
|
||||||
* @param oid The object id of the distributed object to be destroyed.
|
|
||||||
*/
|
|
||||||
function destroyObject (oid :int) :void;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Posts a distributed object event into the system. Instead of
|
* Posts a distributed object event into the system. Instead of
|
||||||
* requesting the modification of a distributed object attribute by
|
* requesting the modification of a distributed object attribute by
|
||||||
|
|||||||
Reference in New Issue
Block a user