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:
@@ -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}}
|
||||
}
|
||||
Reference in New Issue
Block a user