Class EventLoopFactory

java.lang.Object
com.mastfrog.acteur.server.EventLoopFactory

public abstract class EventLoopFactory extends Object
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 Details

    • EventLoopFactory

      public EventLoopFactory()
  • Method Details

    • getEventGroup

      public abstract io.netty.channel.EventLoopGroup getEventGroup()
    • getWorkerGroup

      public abstract io.netty.channel.EventLoopGroup getWorkerGroup()
    • channelType

      protected Class<? extends io.netty.channel.ServerChannel> 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)