public interface Transporter
| 限定符和类型 | 方法和说明 |
|---|---|
<T> CompletionStage<T> |
ask(URL url,
PowerSerializable request,
Class<T> clz)
ask by request
|
Protocol |
getProtocol()
Protocol
|
void |
tell(URL url,
PowerSerializable request)
send message
|
Protocol getProtocol()
void tell(URL url, PowerSerializable request)
url - urlrequest - request<T> CompletionStage<T> ask(URL url, PowerSerializable request, Class<T> clz) throws RemotingException
url - urlrequest - requestclz - response typeRemotingException - remote exceptionCopyright © 2024. All rights reserved.