ProtocolStateMachine

Use this class for exactly one instance of a protocol run.

T is the type of the result value of this protocol run.

Functions

Link copied to clipboard
abstract fun getResult(): T?
Link copied to clipboard
abstract suspend fun parseMessage(body: JsonWebMessage, senderKeyId: String): InternalNextMessage
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
abstract val isFinished: Boolean

Inheritors

Link copied to clipboard
Link copied to clipboard