public static interface Client.Builder.Management
Modifier and Type | Method and Description |
---|---|
@NonNull Client.Builder.Management |
actorTracker(@Nullable Function<Client.WithManagement,? extends ActorTracker> supplier)
Sets the supplier of the actor tracker.
|
@NonNull Client.Builder.Management |
authManager(@Nullable Function<Client.WithManagement,? extends AuthManager> supplier)
Sets the supplier of the authentication manager.
|
@NonNull Client.Builder.Management |
capabilityManager(@Nullable Function<Client.WithManagement,? extends CapabilityManager.WithManagement> supplier)
Sets the supplier of the capability manager.
|
@NonNull Client.Builder.Management |
defaultMessageMap(@Nullable DefaultMessageMap defaultMessageMap)
Sets default messages.
|
@NonNull Client.Builder.Management |
eventListeners(@Nullable List<EventListenerSupplier> listenerSuppliers)
Sets the suppliers of event listeners to be registered by the
event manager upon construction.
|
@NonNull Client.Builder.Management |
eventManager(@Nullable Function<Client.WithManagement,? extends EventManager> supplier)
Sets the supplier of the event manager.
|
@NonNull Client.Builder.Management |
iSupportManager(@Nullable Function<Client.WithManagement,? extends ISupportManager> supplier)
Sets the supplier of the ISUPPORT manager.
|
@NonNull Client.Builder.Management |
messageSendingQueueSupplier(@Nullable Function<Client.WithManagement,? extends MessageSendingQueue> supplier)
Sets the supplier of message sending queues, which dictate the
rate at which messages are sent by the Client to the server.
|
@NonNull Client.Builder.Management |
messageTagManager(@Nullable Function<Client.WithManagement,? extends MessageTagManager> supplier)
Sets the supplier of the message tag manager.
|
@NonNull Client.Builder.Management |
networkHandler(@NonNull NetworkHandler networkHandler)
Sets which
NetworkHandler will handle establishing the
connection. |
@NonNull Client.Builder.Management |
serverInfo(@Nullable Function<Client.WithManagement,? extends ServerInfo.WithManagement> supplier)
Sets the supplier of the server info.
|
@NonNull Client.Builder.Management |
stsStorageManager(@Nullable StsStorageManager storageManager)
Sets the storage manager for STS (strict transport security) support.
|
@NonNull Client.Builder |
then()
Returns to the root builder.
|
@NonNull Client.Builder.Management actorTracker(@Nullable Function<Client.WithManagement,? extends ActorTracker> supplier)
By default, the DefaultActorTracker
is used.
supplier
- supplierDefaultActorTracker
@NonNull Client.Builder.Management authManager(@Nullable Function<Client.WithManagement,? extends AuthManager> supplier)
By default, the DefaultAuthManager
is used.
supplier
- supplierDefaultAuthManager
@NonNull Client.Builder.Management capabilityManager(@Nullable Function<Client.WithManagement,? extends CapabilityManager.WithManagement> supplier)
By default, the DefaultCapabilityManager
is used.
supplier
- supplierDefaultCapabilityManager
@NonNull Client.Builder.Management defaultMessageMap(@Nullable DefaultMessageMap defaultMessageMap)
defaultMessageMap
- default values for messagesDefaultMessageMap
@NonNull Client.Builder.Management eventManager(@Nullable Function<Client.WithManagement,? extends EventManager> supplier)
By default, the DefaultEventManager
is used.
supplier
- supplierDefaultEventManager
@NonNull Client.Builder.Management eventListeners(@Nullable List<EventListenerSupplier> listenerSuppliers)
By default, a list of DefaultListeners
values is used.
listenerSuppliers
- event listener suppliers@NonNull Client.Builder.Management iSupportManager(@Nullable Function<Client.WithManagement,? extends ISupportManager> supplier)
By default, the DefaultISupportManager
is used.
supplier
- supplierDefaultEventManager
@NonNull Client.Builder.Management messageSendingQueueSupplier(@Nullable Function<Client.WithManagement,? extends MessageSendingQueue> supplier)
By default, the SingleDelaySender
is used with a delay set
to SingleDelaySender.DEFAULT_MESSAGE_DELAY
.
supplier
- supplierMessageSendingQueue
@NonNull Client.Builder.Management messageTagManager(@Nullable Function<Client.WithManagement,? extends MessageTagManager> supplier)
By default, the DefaultMessageTagManager
is used.
supplier
- supplierMessageTagManager
@NonNull Client.Builder.Management networkHandler(@NonNull NetworkHandler networkHandler)
NetworkHandler
will handle establishing the
connection.
By default, the NettyNetworkHandler
is used.
networkHandler
- network handlerNettyNetworkHandler
@NonNull Client.Builder.Management serverInfo(@Nullable Function<Client.WithManagement,? extends ServerInfo.WithManagement> supplier)
By default, the DefaultServerInfo
is used.
supplier
- supplierDefaultServerInfo
@NonNull Client.Builder.Management stsStorageManager(@Nullable StsStorageManager storageManager)
By default, this is null and thus STS support is disabled. If you elect to enable STS, you are not permitted to use an insecure trust manager factory.
storageManager
- storage system to persist STS information per host@NonNull Client.Builder then()
Copyright © 2013–2021 Kitteh. All rights reserved.