| 程序包 | 说明 |
|---|---|
| net.apexes.wsonrpc.core |
| 限定符和类型 | 方法和说明 |
|---|---|
protected <T> T |
WsonrpcEngine.fromResponse(JsonRpcResponse resp,
Class<T> returnType) |
protected <T> T |
JsonRpcEngine.fromResponse(JsonRpcResponse resp,
Type returnType) |
<T> T |
JsonRpcEngine.receiveResponse(byte[] bytes,
Type returnType)
接收远程调用得到的回复,从回复中返回指定类型的对象。
|
<T> T |
WsonrpcEndpoint.request(String serviceName,
String methodName,
Object[] args,
Class<T> returnType,
int timeout) |
<T> T |
Remote.request(String serviceName,
String methodName,
Object[] args,
Class<T> returnType,
int timeout)
同步调用远端方法,并返回指定类型的调用结果。
|
Copyright © 2018. All rights reserved.