Class LifeCycle

    • Field Detail

      • bossGroup

        protected io.netty.channel.EventLoopGroup bossGroup
      • workerGroup

        protected io.netty.channel.EventLoopGroup workerGroup
      • serverServerBootstrap

        protected io.netty.bootstrap.ServerBootstrap serverServerBootstrap
    • Constructor Detail

      • LifeCycle

        protected LifeCycle()
    • Method Detail

      • stopAsync

        public Future stopAsync()
      • stop

        public void stop()
        Specified by:
        stop in interface Stoppable
      • getEventLoopGroup

        protected io.netty.channel.EventLoopGroup getEventLoopGroup()
      • getScheduler

        public Scheduler getScheduler()
      • isRunning

        public boolean isRunning()
      • getPort

        @Deprecated
        public Integer getPort()
        Deprecated.
        use getLocalPort instead of getPort
      • getLocalPort

        public int getLocalPort()
      • startedServer

        protected void startedServer​(List<Integer> ports)