Convert Narya (most of the way) over to a Maven Ant task based build. The

ActionScript bits remain belligerent, but the Java stuff is mostly shipshape.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6222 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2010-10-22 21:12:29 +00:00
parent 555b865bbf
commit 9d2ca42eac
434 changed files with 163 additions and 208 deletions
@@ -0,0 +1,27 @@
package {{package}};
{{#imports}}
import {{this}};
{{/imports}}
/**
* Used to issue notifications to a {@link {{name}}Receiver} instance on a
* client.
*/
public class {{name}}Sender extends InvocationSender
{
{{#methods}}
/**
* Issues a notification that will result in a call to {@link
* {{name}}Receiver#{{method.name}}} on a client.
*/
public static void {{senderMethodName}} (
ClientObject target{{#hasArgs}}, {{/hasArgs}}{{getArgList}})
{
sendNotification(
target, {{name}}Decoder.RECEIVER_CODE, {{name}}Decoder.{{code}},
new Object[] { {{getWrappedArgList}} }{{transport}});
}
{{/methods}}
}