public interface ExchangeChannel extends Channel
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close(int timeout)
graceful close.
|
ExchangeHandler |
getExchangeHandler()
get message handler.
|
CompletableFuture<Object> |
request(Object request)
已过时。
|
CompletableFuture<Object> |
request(Object request,
ExecutorService executor)
send request.
|
CompletableFuture<Object> |
request(Object request,
int timeout)
已过时。
|
CompletableFuture<Object> |
request(Object request,
int timeout,
ExecutorService executor)
send request.
|
getAttribute, getRemoteAddress, hasAttribute, isConnected, removeAttribute, setAttributeclose, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startClose@Deprecated CompletableFuture<Object> request(Object request) throws RemotingException
request - RemotingException@Deprecated CompletableFuture<Object> request(Object request, int timeout) throws RemotingException
request - timeout - RemotingExceptionCompletableFuture<Object> request(Object request, ExecutorService executor) throws RemotingException
request - RemotingExceptionCompletableFuture<Object> request(Object request, int timeout, ExecutorService executor) throws RemotingException
request - timeout - RemotingExceptionExchangeHandler getExchangeHandler()
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.