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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user