Package org.apache.dubbo.rpc.stub
Interface StubMethodHandler<T,R>
- Type Parameters:
T- Request TypeR- Response Type
- All Known Implementing Classes:
BiStreamMethodHandler,ServerStreamMethodHandler,UnaryStubMethodHandler
public interface StubMethodHandler<T,R>
A generic methodHandler for stub invocation
-
Method Summary
-
Method Details
-
invoke
Invoke method- Parameters:
arguments- may containStreamObserveror just single request instance.- Returns:
- an Async or Sync future
-