Package com.mastfrog.acteur.server
Class EventLoopFactory
java.lang.Object
com.mastfrog.acteur.server.EventLoopFactory
Factory for event loop groups used by the Netty transport. This interface
exists to abstract creation of these such that Netty's native transport
implementations can be plugged in by external code.
- Author:
- Tim Boudreau
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel>protected Class<? extends io.netty.channel.ServerChannel>protected io.netty.bootstrap.ServerBootstrapconfigureBootstrap(io.netty.bootstrap.ServerBootstrap bootstrap) abstract io.netty.channel.EventLoopGroupabstract io.netty.channel.EventLoopGroup
-
Constructor Details
-
EventLoopFactory
public EventLoopFactory()
-
-
Method Details
-
getEventGroup
public abstract io.netty.channel.EventLoopGroup getEventGroup() -
getWorkerGroup
public abstract io.netty.channel.EventLoopGroup getWorkerGroup() -
channelType
-
channelFactory
protected io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> channelFactory() -
configureBootstrap
protected io.netty.bootstrap.ServerBootstrap configureBootstrap(io.netty.bootstrap.ServerBootstrap bootstrap)
-