public class TcpSocketChannelFactory extends Object implements ChannelFactory
| Constructor and Description |
|---|
TcpSocketChannelFactory(InetAddress address,
int port) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.channel.Channel |
createChannel(io.netty.channel.ChannelHandler channelHandler) |
InetAddress |
getAddress() |
int |
getPort() |
public TcpSocketChannelFactory(InetAddress address, int port)
public io.netty.channel.Channel createChannel(io.netty.channel.ChannelHandler channelHandler)
throws PlcConnectionException
createChannel in interface ChannelFactoryPlcConnectionExceptionpublic InetAddress getAddress()
public int getPort()
Copyright © 2017–2019 The Apache Software Foundation. All rights reserved.