ConnectionSettings
class ConnectionSettings
Settings to apply to a Device when connecting
Constructors
Link copied to clipboard
constructor(reconnectionSettings: ConnectionSettings.ReconnectionSettings = ReconnectionSettings.Always, rootLogger: Logger = RestrictedLogger(RestrictedLogLevel.None), buildLogger: ConnectionSettings.LoggerDSL.() -> Unit)
Constructor
constructor(reconnectionSettings: ConnectionSettings.ReconnectionSettings = ReconnectionSettings.Always, logger: Logger = RestrictedLogger(RestrictedLogLevel.None), dataLogger: Logger = RestrictedLogger(RestrictedLogLevel.None))
Constructor
Types
Link copied to clipboard
interface CommonLoggerDSL
DSL used by all layers of logging for ConnectionSettings
Link copied to clipboard
A CommonLoggerDSL that sets up the logging for a ConnectableDevice
Link copied to clipboard
Behaviour to apply when a Device disconnects unexpectedly
Properties
Link copied to clipboard
the ReconnectionSettings to apply when reconnecting