接口 Exchanger
-
- 所有已知实现类:
HeaderExchanger
@SPI("header") public interface Exchanger
Exchanger. (SPI, Singleton, ThreadSafe)
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ExchangeServer
bind(URL url, ExchangeHandler handler)
bind.ExchangeClient
connect(URL url, ExchangeHandler handler)
connect.
-
-
-
方法详细资料
-
bind
@Adaptive("exchanger") ExchangeServer bind(URL url, ExchangeHandler handler) throws RemotingException
bind.- 参数:
url
-handler
-- 返回:
- message server
- 抛出:
RemotingException
-
connect
@Adaptive("exchanger") ExchangeClient connect(URL url, ExchangeHandler handler) throws RemotingException
connect.- 参数:
url
-handler
-- 返回:
- message channel
- 抛出:
RemotingException
-
-