ProtocolStateMachine

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

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

Inheritors

Properties

Link copied to clipboard
abstract val isFinished: Boolean

Functions

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