From f506a686f94720ed0e6c61fac34e18efa1bf5e5e Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 27 Nov 2001 21:37:58 +0000 Subject: [PATCH] Added unregisterReceiver(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@650 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../presents/client/InvocationDirector.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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) {