基于传输层之上,实现 Request-Response 信息交换语义。
org.apache.dubbo.remoting.exchange.Exchanger
org.apache.dubbo.remoting.exchange.ExchangeServer
org.apache.dubbo.remoting.exchange.ExchangeClient
org.apache.dubbo.remoting.exchange.exchanger.HeaderExchanger
Maven 项目结构:
XxxExchanger.java:
XxxExchangeServer.java:
XxxExchangeClient.java:
META-INF/dubbo/org.apache.dubbo.remoting.exchange.Exchanger: