org.clazzes.remoting
Interface OneWayHandler


public interface OneWayHandler

A handler for oneway invocations which is registered under a subsystem name at a client.

Author:
wglas

Method Summary
 void doOneWay(InvocationContext ctx, java.lang.Object arg, java.util.Map<java.lang.String,java.lang.Object> metadata)
          Handle a oneway invocation.
 

Method Detail

doOneWay

void doOneWay(InvocationContext ctx,
              java.lang.Object arg,
              java.util.Map<java.lang.String,java.lang.Object> metadata)
Handle a oneway invocation. No result is reported back to the server.

Parameters:
ctx - The context under which the call has been issued.
arg - The argument of the call.
metadata - The metadata accompanying the remote call, which is passed to the invocation handler. Metadata may be used to communicate authorization information such as user/password or a session Id.


Copyright © 2010. All Rights Reserved.