-
public final class OptionsBaseMindClient Options
This dataclass is used for configuring the client.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongterminationDelaySecondsprivate final Booleandebugprivate final Function2<String, String, Unit>debugLoggerprivate final StringserverAddressprivate final IntegerserverPort
-
Method Summary
Modifier and Type Method Description final LonggetTerminationDelaySeconds()The amount of seconds a channel shutdown should wait before force terminating requests. final BooleangetDebug()Controls outputting debug log messages. final Function2<String, String, Unit>getDebugLogger()A logging handler function. final StringgetServerAddress()The address of the basemind gateway to connect to. final IntegergetServerPort()The server port to use. -
-
Method Detail
-
getTerminationDelaySeconds
final Long getTerminationDelaySeconds()
The amount of seconds a channel shutdown should wait before force terminating requests.
Defaults to 5 seconds.
-
getDebugLogger
final Function2<String, String, Unit> getDebugLogger()
A logging handler function. Defaults to android's Log.d.
-
getServerAddress
final String getServerAddress()
The address of the basemind gateway to connect to.
-
getServerPort
final Integer getServerPort()
The server port to use.
-
-
-
-