Class Exchangers
java.lang.Object
org.apache.dubbo.remoting.exchange.Exchangers
Exchanger facade. (API, Static, ThreadSafe)
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExchangeServerbind(String url, ChannelHandler handler, Replier<?> replier) static ExchangeServerbind(String url, ExchangeHandler handler) static ExchangeServerstatic ExchangeServerbind(URL url, ChannelHandler handler, Replier<?> replier) static ExchangeServerbind(URL url, ExchangeHandler handler) static ExchangeServerstatic ExchangeClientstatic ExchangeClientconnect(String url, ChannelHandler handler, Replier<?> replier) static ExchangeClientconnect(String url, ExchangeHandler handler) static ExchangeClientstatic ExchangeClientstatic ExchangeClientconnect(URL url, ChannelHandler handler, Replier<?> replier) static ExchangeClientconnect(URL url, ExchangeHandler handler) static ExchangeClientstatic ExchangergetExchanger(URL url)
-
Method Details
-
bind
- Throws:
RemotingException
-
bind
- Throws:
RemotingException
-
bind
public static ExchangeServer bind(String url, ChannelHandler handler, Replier<?> replier) throws RemotingException - Throws:
RemotingException
-
bind
public static ExchangeServer bind(URL url, ChannelHandler handler, Replier<?> replier) throws RemotingException - Throws:
RemotingException
-
bind
- Throws:
RemotingException
-
bind
- Throws:
RemotingException
-
connect
- Throws:
RemotingException
-
connect
- Throws:
RemotingException
-
connect
- Throws:
RemotingException
-
connect
- Throws:
RemotingException
-
connect
public static ExchangeClient connect(String url, ChannelHandler handler, Replier<?> replier) throws RemotingException - Throws:
RemotingException
-
connect
public static ExchangeClient connect(URL url, ChannelHandler handler, Replier<?> replier) throws RemotingException - Throws:
RemotingException
-
connect
- Throws:
RemotingException
-
connect
- Throws:
RemotingException
-
getExchanger
-