public interface RpcHandler
| 限定符和类型 | 方法和说明 |
|---|---|
RpcData |
doHandle(RpcData data)
send data to server.
|
String |
getDescription()
Gets the description.
|
Class<?> |
getInputClass()
Gets the input class.
|
String |
getMethodName()
Gets the method name.
|
String |
getMethodSignature()
Gets the method signature.
|
Class<?> |
getOutputClass()
Gets the output class.
|
Object |
getService()
Gets the service.
|
String |
getServiceName()
Gets the service name.
|
RpcData doHandle(RpcData data) throws Exception
data - the dataException - in case of any exception in handleString getServiceName()
String getMethodName()
Object getService()
Class<?> getInputClass()
Class<?> getOutputClass()
String getDescription()
String getMethodSignature()
Copyright © 2022 Baidu, Inc.. All rights reserved.