Package herddb.network.netty
Class NettyConnector
- java.lang.Object
-
- herddb.network.netty.NettyConnector
-
public class NettyConnector extends Object
Client-side connector- Author:
- enrico.olivelli
-
-
Constructor Summary
Constructors Constructor Description NettyConnector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Channelconnect(String host, int port, boolean ssl, int connectTimeout, int socketTimeout, ChannelEventListener receiver, ExecutorService callbackExecutor, io.netty.channel.MultithreadEventLoopGroup networkGroup)static ChannelconnectUsingNetwork(String host, int port, boolean ssl, int connectTimeout, int socketTimeout, ChannelEventListener receiver, ExecutorService callbackExecutor, io.netty.channel.MultithreadEventLoopGroup networkGroup)
-
-
-
Method Detail
-
connect
public static Channel connect(String host, int port, boolean ssl, int connectTimeout, int socketTimeout, ChannelEventListener receiver, ExecutorService callbackExecutor, io.netty.channel.MultithreadEventLoopGroup networkGroup) throws IOException
- Throws:
IOException
-
connectUsingNetwork
public static Channel connectUsingNetwork(String host, int port, boolean ssl, int connectTimeout, int socketTimeout, ChannelEventListener receiver, ExecutorService callbackExecutor, io.netty.channel.MultithreadEventLoopGroup networkGroup) throws IOException, SSLException
- Throws:
IOExceptionSSLException
-
-