diff --git a/src/as/com/threerings/presents/client/ClientDObjectMgr.as b/src/as/com/threerings/presents/client/ClientDObjectMgr.as index 1d0953bad..4bf50c235 100644 --- a/src/as/com/threerings/presents/client/ClientDObjectMgr.as +++ b/src/as/com/threerings/presents/client/ClientDObjectMgr.as @@ -91,13 +91,6 @@ public class ClientDObjectMgr 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 public function subscribeToObject (oid :int, target :Subscriber) :void { @@ -129,13 +122,6 @@ public class ClientDObjectMgr _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 public function removedLastSubscriber ( obj :DObject, deathWish :Boolean) :void diff --git a/src/as/com/threerings/presents/dobj/DObjectManager.as b/src/as/com/threerings/presents/dobj/DObjectManager.as index e3c873389..26c8d493b 100644 --- a/src/as/com/threerings/presents/dobj/DObjectManager.as +++ b/src/as/com/threerings/presents/dobj/DObjectManager.as @@ -18,22 +18,6 @@ public interface DObjectManager */ 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 - * DObject (or DObject.class 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 * identified by the supplied object id. That subscriber will be @@ -59,15 +43,6 @@ public interface DObjectManager */ 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 * requesting the modification of a distributed object attribute by