com.alibaba.dubbo.remoting.exchange
Class Exchangers
java.lang.Object
com.alibaba.dubbo.remoting.exchange.Exchangers
public class Exchangers
- extends Object
Exchanger facade. (API, Static, ThreadSafe)
- Author:
- william.liangf
Method Summary |
static ExchangeServer |
bind(String url,
ChannelHandler handler,
Replier<?> replier)
|
static ExchangeServer |
bind(String url,
ExchangeHandler handler)
|
static ExchangeServer |
bind(String url,
Replier<?> replier)
|
static ExchangeServer |
bind(URL url,
ChannelHandler handler,
Replier<?> replier)
|
static ExchangeServer |
bind(URL url,
ExchangeHandler handler)
|
static ExchangeServer |
bind(URL url,
Replier<?> replier)
|
static ExchangeClient |
connect(String url)
|
static ExchangeClient |
connect(String url,
ChannelHandler handler,
Replier<?> replier)
|
static ExchangeClient |
connect(String url,
ExchangeHandler handler)
|
static ExchangeClient |
connect(String url,
Replier<?> replier)
|
static ExchangeClient |
connect(URL url)
|
static ExchangeClient |
connect(URL url,
ChannelHandler handler,
Replier<?> replier)
|
static ExchangeClient |
connect(URL url,
ExchangeHandler handler)
|
static ExchangeClient |
connect(URL url,
Replier<?> replier)
|
static Exchanger |
getExchanger(String type)
|
static Exchanger |
getExchanger(URL url)
|
bind
public static ExchangeServer bind(String url,
Replier<?> replier)
throws RemotingException
- Throws:
RemotingException
bind
public static ExchangeServer bind(URL url,
Replier<?> replier)
throws RemotingException
- 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
public static ExchangeServer bind(String url,
ExchangeHandler handler)
throws RemotingException
- Throws:
RemotingException
bind
public static ExchangeServer bind(URL url,
ExchangeHandler handler)
throws RemotingException
- Throws:
RemotingException
connect
public static ExchangeClient connect(String url)
throws RemotingException
- Throws:
RemotingException
connect
public static ExchangeClient connect(URL url)
throws RemotingException
- Throws:
RemotingException
connect
public static ExchangeClient connect(String url,
Replier<?> replier)
throws RemotingException
- Throws:
RemotingException
connect
public static ExchangeClient connect(URL url,
Replier<?> replier)
throws RemotingException
- 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
public static ExchangeClient connect(String url,
ExchangeHandler handler)
throws RemotingException
- Throws:
RemotingException
connect
public static ExchangeClient connect(URL url,
ExchangeHandler handler)
throws RemotingException
- Throws:
RemotingException
getExchanger
public static Exchanger getExchanger(URL url)
getExchanger
public static Exchanger getExchanger(String type)
Copyright © 2012–2017 Alibaba. All rights reserved.