HandshakeHandler

interface HandshakeHandler : ConnectionHandler

Functions

Link copied to clipboard
abstract suspend fun configureCore(adminUsername: String, adminPassword: String, backend: String, backendConfiguration: QVariantMap, authenticator: String, authenticatorConfiguration: QVariantMap)

Configure core for the first time

Link copied to clipboard
abstract suspend fun done()
Link copied to clipboard
abstract suspend fun init(channel: MessageChannel): Boolean

abstract suspend fun init(clientVersion: String, buildDate: String, featureSet: FeatureSet): CoreState

Register client and start connection

Link copied to clipboard
abstract suspend fun login(username: String, password: String)

Login to core with authentication data

Link copied to clipboard
abstract suspend fun read(buffer: ByteBuffer): Boolean