接口 ExchangeChannel
-
- 所有已知子接口:
ExchangeClient
- 所有已知实现类:
HeaderExchangeClient
public interface ExchangeChannel extends Channel
ExchangeChannel. (API/SPI, Prototype, ThreadSafe)
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidclose(int timeout)graceful close.ExchangeHandlergetExchangeHandler()get message handler.ResponseFuturerequest(Object request)send request.ResponseFuturerequest(Object request, int timeout)send request.-
从接口继承的方法 com.alibaba.dubbo.remoting.Channel
getAttribute, getRemoteAddress, hasAttribute, isConnected, removeAttribute, setAttribute
-
从接口继承的方法 com.alibaba.dubbo.remoting.Endpoint
close, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startClose
-
-
-
-
方法详细资料
-
request
ResponseFuture request(Object request) throws RemotingException
send request.- 参数:
request-- 返回:
- response future
- 抛出:
RemotingException
-
request
ResponseFuture request(Object request, int timeout) throws RemotingException
send request.- 参数:
request-timeout-- 返回:
- response future
- 抛出:
RemotingException
-
getExchangeHandler
ExchangeHandler getExchangeHandler()
get message handler.- 返回:
- message handler
-
-