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