org.msgpack.rpc.dispatcher
Class MethodDispatcher
java.lang.Object
org.msgpack.rpc.dispatcher.MethodDispatcher
- All Implemented Interfaces:
- Dispatcher
public class MethodDispatcher
- extends java.lang.Object
- implements Dispatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
methodMap
protected java.util.Map<java.lang.String,Invoker> methodMap
target
protected java.lang.Object target
MethodDispatcher
public MethodDispatcher(java.lang.Object target)
MethodDispatcher
public MethodDispatcher(java.lang.Object target,
java.lang.Class<?> iface)
MethodDispatcher
public MethodDispatcher(java.lang.Object target,
java.lang.reflect.Method[] methods)
dispatch
public void dispatch(Request request)
throws java.lang.Exception
- Specified by:
dispatch
in interface Dispatcher
- Throws:
java.lang.Exception
Copyright © 2010. All Rights Reserved.