public class IDLServiceRpcHandler extends Object implements RpcHandler
| 构造器和说明 |
|---|
IDLServiceRpcHandler(IDLServiceExporter idlServiceExporter)
Instantiates a new IDL service rpc handler.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public IDLServiceRpcHandler(IDLServiceExporter idlServiceExporter)
idlServiceExporter - the idl service exporterpublic RpcData doHandle(RpcData data) throws Exception
RpcHandlerdoHandle 在接口中 RpcHandlerdata - the dataException - in case of any exception in handlepublic String getServiceName()
RpcHandlergetServiceName 在接口中 RpcHandlerpublic String getMethodName()
RpcHandlergetMethodName 在接口中 RpcHandlerpublic Object getService()
RpcHandlergetService 在接口中 RpcHandlerpublic Class<?> getInputClass()
RpcHandlergetInputClass 在接口中 RpcHandlerpublic Class<?> getOutputClass()
RpcHandlergetOutputClass 在接口中 RpcHandlerpublic String getDescription()
RpcHandlergetDescription 在接口中 RpcHandlerpublic String getMethodSignature()
RpcHandlergetMethodSignature 在接口中 RpcHandlerCopyright © 2022 Baidu, Inc.. All rights reserved.