jgroup.relacs.gmi
Class GroupInvocationDispatcher

java.lang.Object
  extended by jgroup.relacs.gmi.GroupInvocationDispatcher
All Implemented Interfaces:
net.jini.jeri.InvocationDispatcher

public class GroupInvocationDispatcher
extends java.lang.Object
implements net.jini.jeri.InvocationDispatcher

Dispatches external invocations to the local group member by unmarshalling the invocation method and parameters.

Author:
Tor Arve Stangeland, Hein Meling

Constructor Summary
GroupInvocationDispatcher(GroupManager gm, MethodTable methodTable)
          Constructs a new invocation dispatcher, using the given table of available server side EGMI methods.
 
Method Summary
 InvocationResult dispatch(java.io.ObjectInputStream in)
          Invokes serialized request on object.
 void dispatch(java.rmi.Remote impl, net.jini.jeri.InboundRequest request, java.util.Collection context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupInvocationDispatcher

public GroupInvocationDispatcher(GroupManager gm,
                                 MethodTable methodTable)
Constructs a new invocation dispatcher, using the given table of available server side EGMI methods.

Method Detail

dispatch

public InvocationResult dispatch(java.io.ObjectInputStream in)
Invokes serialized request on object.

Parameters:
stream - InputStream to read invocation from
Returns:
an InvocationResult instance containing the invocation result, or null if the execution failed in some way.

dispatch

public void dispatch(java.rmi.Remote impl,
                     net.jini.jeri.InboundRequest request,
                     java.util.Collection context)
Specified by:
dispatch in interface net.jini.jeri.InvocationDispatcher


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.