public class Transporters extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Server |
bind(String url,
ChannelHandler... handler) |
static Server |
bind(URL url,
ChannelHandler... handlers) |
static Client |
connect(String url,
ChannelHandler... handler) |
static Client |
connect(URL url,
ChannelHandler... handlers) |
static Transporter |
getTransporter() |
public static Server bind(String url, ChannelHandler... handler) throws RemotingException
public static Server bind(URL url, ChannelHandler... handlers) throws RemotingException
public static Client connect(String url, ChannelHandler... handler) throws RemotingException
public static Client connect(URL url, ChannelHandler... handlers) throws RemotingException
public static Transporter getTransporter()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.