Class Exchangers
java.lang.Object
org.apache.dubbo.remoting.exchange.Exchangers
Exchanger facade. (API, Static, ThreadSafe)
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExchangeServer
bind
(String url, ChannelHandler handler, Replier<?> replier) static ExchangeServer
bind
(String url, ExchangeHandler handler) static ExchangeServer
static ExchangeServer
bind
(URL url, ChannelHandler handler, Replier<?> replier) static ExchangeServer
bind
(URL url, ExchangeHandler handler) static ExchangeServer
static ExchangeClient
static ExchangeClient
connect
(String url, ChannelHandler handler, Replier<?> replier) static ExchangeClient
connect
(String url, ExchangeHandler handler) static ExchangeClient
static ExchangeClient
static ExchangeClient
connect
(URL url, ChannelHandler handler, Replier<?> replier) static ExchangeClient
connect
(URL url, ExchangeHandler handler) static ExchangeClient
static Exchanger
getExchanger
(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
-