diff --git a/src/java/com/threerings/presents/client/InvocationDirector.java b/src/java/com/threerings/presents/client/InvocationDirector.java index 71c0edfa1..17223c1a4 100644 --- a/src/java/com/threerings/presents/client/InvocationDirector.java +++ b/src/java/com/threerings/presents/client/InvocationDirector.java @@ -1,5 +1,5 @@ // -// $Id: InvocationDirector.java,v 1.15 2001/10/12 20:26:00 mdb Exp $ +// $Id: InvocationDirector.java,v 1.16 2001/11/27 21:37:58 mdb Exp $ package com.threerings.presents.client; @@ -121,6 +121,16 @@ public class InvocationDirector _receivers.put(module, receiver); } + /** + * Removes the registration for the supplied invocation receiver + * instance as the handler for invocation notifications for the + * specified module. + */ + public void unregisterReceiver (String module) + { + _receivers.remove(module); + } + // documentation inherited public void objectAvailable (DObject object) {