Wrote code to help automatically detect bugs.

Have invocation marshallers track whether someone ever ended up responding
to the client: if they get garbage collected without ever doing so
(and they're not the base class InvocationMarshaller, which can only report
errors), log an informative error message.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3792 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2005-12-21 02:10:38 +00:00
parent 5a57753d84
commit 4cb18bd5ab
3 changed files with 31 additions and 0 deletions
@@ -27,6 +27,7 @@ public class ${name}Marshaller extends InvocationMarshaller
// documentation inherited from interface
public void $lm.method.name ($lm.getArgList(false))
{
_invId = null;
omgr.postEvent(new InvocationResponseEvent(
callerOid, requestId, $lm.code,
new Object[] { $lm.getWrappedArgList(false) }));