|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExchangeChannel
ExchangeChannel. (API/SPI, Prototype, ThreadSafe)
Method Summary | |
---|---|
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. |
Methods inherited from interface com.alibaba.dubbo.remoting.Channel |
---|
getAttribute, getRemoteAddress, hasAttribute, isConnected, removeAttribute, setAttribute |
Methods inherited from interface com.alibaba.dubbo.remoting.Endpoint |
---|
close, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startClose |
Method Detail |
---|
ResponseFuture request(Object request) throws RemotingException
request
-
RemotingException
ResponseFuture request(Object request, int timeout) throws RemotingException
request
- timeout
-
RemotingException
ExchangeHandler getExchangeHandler()
void close(int timeout)
close
in interface Endpoint
timeout
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |