// // $Id: sender.tmpl,v 1.1 2002/08/11 05:53:13 mdb Exp $ package [% package %]; [% FOREACH import = imports -%] import [% import %]; [% END -%] /** * Used to issue notifications to a {@link [% name %]Receiver} instance on a * client. */ public class [% name %]Sender extends InvocationSender { [% FOREACH m = methods -%] /** * Issues a notification that will result in a call to {@link * [% name %]Receiver#[% m.mname %]} on a client. */ public static void [% m.sname %] ( ClientObject target, [% m.arglist %]) { sendNotification( target, [% name %]Decoder.RECEIVER_ID, [% name %]Decoder.[% m.mcode %], new Object[] { [% m.wrapped_args %] }); } [% END -%] // Generated on [% genstamp %]. }