public class ClientModule
extends com.google.inject.AbstractModule
| Constructor and Description |
|---|
ClientModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure()
Abstract module implementation.
|
ExecutorService |
executorService(int threadPoolSize)
Returns an Executor service instance for managing async tasks.
|
WebSocketClientImpl |
webSocketClient(URI connectCustomDebugEndpointUri,
SkillInvokerConfiguration skillInvokerConfiguration,
Map<String,String> headers,
ExecutorService executorService)
Creates and returns an instance of
WebSocketClientImpl. |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class com.google.inject.AbstractModule@Provides public WebSocketClientImpl webSocketClient(URI connectCustomDebugEndpointUri, SkillInvokerConfiguration skillInvokerConfiguration, Map<String,String> headers, ExecutorService executorService)
WebSocketClientImpl.connectCustomDebugEndpointUri - - Uri for debug connection.skillInvokerConfiguration - - Reflection configuration for invoking skill code.headers - - Headers for the web socket connection.executorService - - Executor service instance for managing async tasks.WebSocketClientImpl.@Provides public ExecutorService executorService(int threadPoolSize)
threadPoolSize - - Number of worker threads in the pool.Copyright © 2023. All rights reserved.