Class ControllerSession.Builder
java.lang.Object
be.theking90000.mumble.controller.spaces.ControllerSession.Builder
- Enclosing class:
- ControllerSession
Builder for one typed Spaces session.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()callbackExecutor(Executor executor) Selects the executor on which public callbacks are serialized.tls(be.theking90000.mumble.controller.core.TlsConfig config) Enables server-authenticated TLS.
-
Method Details
-
callbackExecutor
Selects the executor on which public callbacks are serialized.- Parameters:
executor- callback executor- Returns:
- this builder
-
tls
Enables server-authenticated TLS.- Parameters:
config- server trust configuration- Returns:
- this builder
-
build
- Returns:
- a new typed Spaces session without opening its transport
-