public class TCPNettyClient extends Object
| Constructor and Description |
|---|
TCPNettyClient() |
TCPNettyClient(boolean keepAlive,
boolean noDelay) |
TCPNettyClient(int numberOfThreads,
boolean keepAlive,
boolean noDelay) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(String host,
int port) |
void |
disconnect() |
io.netty.channel.ChannelFuture |
send(String channelId,
byte[] message) |
void |
shutdown() |
public TCPNettyClient(boolean keepAlive,
boolean noDelay)
public TCPNettyClient()
public TCPNettyClient(int numberOfThreads,
boolean keepAlive,
boolean noDelay)
public void connect(String host, int port) throws io.siddhi.core.exception.ConnectionUnavailableException
io.siddhi.core.exception.ConnectionUnavailableExceptionpublic io.netty.channel.ChannelFuture send(String channelId, byte[] message)
public void disconnect()
public void shutdown()
Copyright © 2020 WSO2. All rights reserved.