public interface ClientMessageSender
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
sendMsgWithResponse(Object msg)
Send msg with response object.
|
Object |
sendMsgWithResponse(Object msg,
long timeout)
Send msg with response object.
|
Object |
sendMsgWithResponse(String serverAddress,
Object msg,
long timeout)
Send msg with response object.
|
void |
sendResponse(long msgId,
String serverAddress,
Object msg)
Send response.
|
Object sendMsgWithResponse(Object msg, long timeout) throws TimeoutException
msg - the msgtimeout - the timeoutTimeoutException - the timeout exceptionObject sendMsgWithResponse(String serverAddress, Object msg, long timeout) throws TimeoutException
serverAddress - the server addressmsg - the msgtimeout - the timeoutTimeoutException - the timeout exceptionObject sendMsgWithResponse(Object msg) throws TimeoutException
msg - the msgTimeoutException - the timeout exceptionCopyright © 2019 Seata. All rights reserved.