public class Transporters extends Object
| Modifier and Type | Method and Description |
|---|---|
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
RemotingExceptionpublic static Server bind(URL url, ChannelHandler... handlers) throws RemotingException
RemotingExceptionpublic static Client connect(String url, ChannelHandler... handler) throws RemotingException
RemotingExceptionpublic static Client connect(URL url, ChannelHandler... handlers) throws RemotingException
RemotingExceptionpublic static Transporter getTransporter()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.