类 Transporters
- java.lang.Object
-
- com.alibaba.dubbo.remoting.Transporters
-
public class Transporters extends Object
Transporter facade. (API, Static, ThreadSafe)
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static Server
bind(URL url, ChannelHandler... handlers)
static Server
bind(String url, ChannelHandler... handler)
static Client
connect(URL url, ChannelHandler... handlers)
static Client
connect(String url, ChannelHandler... handler)
static Transporter
getTransporter()
-
-
-
方法详细资料
-
bind
public static Server bind(String url, ChannelHandler... handler) throws RemotingException
-
bind
public static Server bind(URL url, ChannelHandler... handlers) throws RemotingException
-
connect
public static Client connect(String url, ChannelHandler... handler) throws RemotingException
-
connect
public static Client connect(URL url, ChannelHandler... handlers) throws RemotingException
-
getTransporter
public static Transporter getTransporter()
-
-