Class ControllerSession.Builder

java.lang.Object
be.theking90000.mumble.controller.spaces.ControllerSession.Builder
Enclosing class:
ControllerSession

public static final class ControllerSession.Builder extends Object
Builder for one typed Spaces session.
  • Method Details

    • callbackExecutor

      public ControllerSession.Builder callbackExecutor(Executor executor)
      Selects the executor on which public callbacks are serialized.
      Parameters:
      executor - callback executor
      Returns:
      this builder
    • tls

      public ControllerSession.Builder tls(be.theking90000.mumble.controller.core.TlsConfig config)
      Enables server-authenticated TLS.
      Parameters:
      config - server trust configuration
      Returns:
      this builder
    • build

      public ControllerSession build()
      Returns:
      a new typed Spaces session without opening its transport