| Constructor and Description |
|---|
Builder()
Instantiates a new Builder.
|
| Modifier and Type | Method and Description |
|---|---|
MsbClient |
build()
Build client.
|
MsbClient.Builder |
disableAutoReconnect()
Disable auto reconnect builder.
|
MsbClient.Builder |
disableEventCache()
Disable event cache builder.
|
MsbClient.Builder |
disableFunctionCallsInvocation()
Disable function calls invocation of client.
|
MsbClient.Builder |
disableHostnameVerification()
Disable hostname checking when establishing a secure connection,
if self-signed certificates are used or an ip is used instead of a domain name.
|
MsbClient.Builder |
enabledDataFormatValidation()
Enabled data format validation builder.
|
MsbClient.Builder |
eventCacheSize(int eventCacheSize)
Event cache size builder.
|
MsbClient.Builder |
functionCallExecutorPoolSize(int functionCallExecutorPoolSize)
Function call executor pool size builder.
|
MsbClient.Builder |
reconnectInterval(int reconnectInterval)
Sets reconnect interval, it must be greater than 3000 milliseconds.
|
MsbClient.Builder |
trustStore(String trustStorePath,
String trustStorePwd)
Sets trust store for secure connection over wss/https.
|
MsbClient.Builder |
url(String url)
Set the url of MSB websocket interface
|
MsbClient.Builder |
websocketTextMessageSize(int websocketTextMessageSize)
Set websocket text message size.
|
public MsbClient.Builder url(String url)
url - the urlpublic MsbClient.Builder eventCacheSize(int eventCacheSize)
eventCacheSize - the event cache sizepublic MsbClient.Builder websocketTextMessageSize(int websocketTextMessageSize)
websocketTextMessageSize - the websocket text message sizepublic MsbClient.Builder functionCallExecutorPoolSize(int functionCallExecutorPoolSize)
functionCallExecutorPoolSize - the function call executor pool sizepublic MsbClient.Builder disableHostnameVerification()
public MsbClient.Builder trustStore(String trustStorePath, String trustStorePwd)
trustStorePath - the trust store pathtrustStorePwd - the trust store pwdpublic MsbClient.Builder disableFunctionCallsInvocation()
public MsbClient.Builder disableEventCache()
public MsbClient.Builder disableAutoReconnect()
public MsbClient.Builder reconnectInterval(int reconnectInterval)
reconnectInterval - the reconnect intervalpublic MsbClient.Builder enabledDataFormatValidation()
public MsbClient build()
Copyright © 2019 Fraunhofer IPA. All rights reserved.