Interface NetworkBindingOperationProcessor

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
DefaultNetworkBindingOperationProcessor

public interface NetworkBindingOperationProcessor extends AutoCloseable
Processes NetworkBindingOperations on a suitable ServerBootstrap. Once the operation is complete, the processor will complete the NetworkBindingOperation.getFuture().
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the processor.
    void
    Enqueues a network binding operation.
    void
    start(io.netty.bootstrap.ServerBootstrap plain, io.netty.bootstrap.ServerBootstrap tls)
    Starts the processor running.
  • Method Details

    • start

      void start(io.netty.bootstrap.ServerBootstrap plain, io.netty.bootstrap.ServerBootstrap tls)
      Starts the processor running.
      Parameters:
      plain - plain bootstrap
      tls - tls bootstrap
    • enqueueNetworkBindingEvent

      void enqueueNetworkBindingEvent(NetworkBindingOperation<?> o)
      Enqueues a network binding operation. Once the operation is complete the processor will complete the NetworkBindingOperation.getFuture().
      Parameters:
      o - operation to be performed.
    • close

      void close()
      Closes the processor.
      Specified by:
      close in interface AutoCloseable