public class AioRpcSynResponseClient extends AioAbstractClient
aioRpcClient| 构造器和说明 |
|---|
AioRpcSynResponseClient(AioRpcClient aioRpcClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
sendAndReturn(String message)
Send message and get response.
|
String |
sendAndReturn(String message,
long timeMillis)
Send message and get response.
|
close, getHandler, isActive, sendpublic AioRpcSynResponseClient(AioRpcClient aioRpcClient)
public String sendAndReturn(String message) throws InterruptedException
message - InterruptedExceptionpublic String sendAndReturn(String message, long timeMillis) throws InterruptedException
message - timeMillis - InterruptedExceptionCopyright © 2019. All Rights Reserved.