From 60c204a93a89b1a8f2bf44abb3c040fdf116758f Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 19 Jan 2006 00:53:35 +0000 Subject: [PATCH] Added a method that can be called to indicate that a response will intentionally not be sent to the listener. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3809 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../presents/data/InvocationMarshaller.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/java/com/threerings/presents/data/InvocationMarshaller.java b/src/java/com/threerings/presents/data/InvocationMarshaller.java index 91e593314..87da068c4 100644 --- a/src/java/com/threerings/presents/data/InvocationMarshaller.java +++ b/src/java/com/threerings/presents/data/InvocationMarshaller.java @@ -79,6 +79,17 @@ public class InvocationMarshaller _invId = name; } + /** + * Indicates that this listener will not be responded-to, and that + * this is normal behavior. + */ + public void setNoResponse () + { + // we enact this by merely doing the same thing that we normally + // do during a response. + _invId = null; + } + // documentation inherited from interface public void requestFailed (String cause) {