org.jboss.cache.marshall
Class InactiveRegionAwareRpcDispatcher

java.lang.Object
  extended by org.jgroups.blocks.MessageDispatcher
      extended by org.jgroups.blocks.RpcDispatcher
          extended by org.jboss.cache.marshall.InactiveRegionAwareRpcDispatcher
All Implemented Interfaces:
org.jgroups.blocks.RequestHandler, org.jgroups.ChannelListener

public class InactiveRegionAwareRpcDispatcher
extends org.jgroups.blocks.RpcDispatcher

Extends RpcDispatcher and adds the possibility that the marshaller may throw InactiveRegionExceptions.

Since:
2.0.0
Author:
Manik Surtani

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jgroups.blocks.RpcDispatcher
org.jgroups.blocks.RpcDispatcher.Marshaller
 
Field Summary
 
Fields inherited from class org.jgroups.blocks.RpcDispatcher
additionalChannelListeners, method_lookup, req_marshaller, rsp_marshaller, server_obj
 
Fields inherited from class org.jgroups.blocks.MessageDispatcher
adapter, channel, concurrent_processing, corr, deadlock_detection, handler, id, local_addr, log, members, membership_listener, msg_listener, prot_adapter, req_handler, transport_adapter
 
Constructor Summary
InactiveRegionAwareRpcDispatcher(org.jgroups.Channel channel, org.jgroups.MessageListener l, org.jgroups.MembershipListener l2, java.lang.Object server_obj)
          Only provide the flavour of the RpcDispatcher constructor that we care about.
 
Method Summary
 java.lang.Object handle(org.jgroups.Message req)
          Message contains MethodCall.
 
Methods inherited from class org.jgroups.blocks.RpcDispatcher
addChannelListener, callRemoteMethod, callRemoteMethod, callRemoteMethod, callRemoteMethod, callRemoteMethods, callRemoteMethods, callRemoteMethods, callRemoteMethods, callRemoteMethods, callRemoteMethods, callRemoteMethods, castMessage, channelClosed, channelConnected, channelDisconnected, channelReconnected, channelShunned, correlatorStarted, getMarshaller, getMethodLookup, getName, getRequestMarshaller, getResponseMarshaller, getServerObject, removeChannelListener, sendMessage, setMarshaller, setMethodLookup, setRequestMarshaller, setResponseMarshaller, setServerObject
 
Methods inherited from class org.jgroups.blocks.MessageDispatcher
castMessage, castMessage, done, getChannel, getMembers, getMessageListener, send, setConcurrentProcessing, setDeadlockDetection, setMembershipListener, setMessageListener, setRequestHandler, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InactiveRegionAwareRpcDispatcher

public InactiveRegionAwareRpcDispatcher(org.jgroups.Channel channel,
                                        org.jgroups.MessageListener l,
                                        org.jgroups.MembershipListener l2,
                                        java.lang.Object server_obj)
Only provide the flavour of the RpcDispatcher constructor that we care about.

Method Detail

handle

public java.lang.Object handle(org.jgroups.Message req)
Message contains MethodCall. Execute it against *this* object and return result. Use MethodCall.invoke() to do this. Return result.

Specified by:
handle in interface org.jgroups.blocks.RequestHandler
Overrides:
handle in class org.jgroups.blocks.RpcDispatcher