com.alibaba.dubbo.remoting
Class Transporters
java.lang.Object
com.alibaba.dubbo.remoting.Transporters
public class Transporters
- extends Object
Transporter facade. (API, Static, ThreadSafe)
- Author:
- william.liangf
bind
public static Server bind(String url,
ChannelHandler... handler)
throws RemotingException
- Throws:
RemotingException
bind
public static Server bind(URL url,
ChannelHandler... handlers)
throws RemotingException
- Throws:
RemotingException
connect
public static Client connect(String url,
ChannelHandler... handler)
throws RemotingException
- Throws:
RemotingException
connect
public static Client connect(URL url,
ChannelHandler... handlers)
throws RemotingException
- Throws:
RemotingException
getTransporter
public static Transporter getTransporter()
Copyright © 2012–2017 Alibaba. All rights reserved.