public interface ExchangeChannel extends Channel
| Modifier and Type | Method and Description |
|---|---|
void |
close(int timeout)
graceful close.
|
ExchangeHandler |
getExchangeHandler()
get message handler.
|
CompletableFuture<Object> |
request(Object request)
send request.
|
CompletableFuture<Object> |
request(Object request,
int timeout)
send request.
|
getAttribute, getRemoteAddress, hasAttribute, isConnected, removeAttribute, setAttributeclose, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startCloseCompletableFuture<Object> request(Object request) throws RemotingException
request - RemotingExceptionCompletableFuture<Object> request(Object request, int timeout) throws RemotingException
request - timeout - RemotingExceptionExchangeHandler getExchangeHandler()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.