Class SerialChannelFactory
java.lang.Object
org.apache.plc4x.java.spi.connection.NettyChannelFactory
org.apache.plc4x.java.transport.serial.SerialChannelFactory
- All Implemented Interfaces:
HasConfiguration<SerialTransportConfiguration>,ChannelFactory
public class SerialChannelFactory
extends NettyChannelFactory
implements HasConfiguration<SerialTransportConfiguration>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureBootstrap(io.netty.bootstrap.Bootstrap bootstrap) Class<? extends io.netty.channel.Channel>io.netty.channel.EventLoopGroupbooleanvoidsetConfiguration(SerialTransportConfiguration configuration) Methods inherited from class org.apache.plc4x.java.spi.connection.NettyChannelFactory
closeEventLoopForChannel, createBootstrap, createChannelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.plc4x.java.spi.connection.ChannelFactory
initializePipeline
-
Constructor Details
-
SerialChannelFactory
-
-
Method Details
-
setConfiguration
- Specified by:
setConfigurationin interfaceHasConfiguration<SerialTransportConfiguration>
-
getChannel
- Specified by:
getChannelin classNettyChannelFactory
-
isPassive
public boolean isPassive()- Specified by:
isPassivein interfaceChannelFactory
-
configureBootstrap
public void configureBootstrap(io.netty.bootstrap.Bootstrap bootstrap) - Specified by:
configureBootstrapin classNettyChannelFactory
-
getEventLoopGroup
public io.netty.channel.EventLoopGroup getEventLoopGroup()- Overrides:
getEventLoopGroupin classNettyChannelFactory
-