Automatically generate the provider interface when generating the FooMarshaller

and FooDispatcher. This means we will no longer be able to make FooProvider a
class that directly handles FooService methods, but the savings in confusion
for first time users of the framework will more than make up for the minor
inconvenience.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3714 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-09-27 22:27:04 +00:00
parent 4fbb911d7c
commit 2d9dffc7ec
4 changed files with 76 additions and 5 deletions
@@ -25,7 +25,7 @@ public class ${name}Marshaller extends InvocationMarshaller
public static final int $lm.code = $velocityCount;
// documentation inherited from interface
public void $lm.method.name ($lm.argList)
public void $lm.method.name ($lm.getArgList(false))
{
omgr.postEvent(new InvocationResponseEvent(
callerOid, requestId, $lm.code,
@@ -56,7 +56,7 @@ public class ${name}Marshaller extends InvocationMarshaller
public static final int $m.code = $velocityCount;
// documentation inherited from interface
public void $m.method.name ($m.argList)
public void $m.method.name ($m.getArgList(false))
{
#foreach ($la in $m.listenerArgs)
$la.marshaller listener$la.index = new ${la.marshaller}();