ProtocolIORequest |
interface ProtocolIORequest |
ProtocolStateMachineImpl |
class ProtocolStateMachineImpl<R> : ProtocolStateMachine<R> A ProtocolStateMachine instance is a suspendable fiber that delegates all actual logic to a ProtocolLogic instance. For any given flow there is only one PSM, even if that protocol invokes subprotocols. |
ReceiveOnly |
data class ReceiveOnly<T> : ReceiveRequest<T> |
ReceiveRequest |
interface ReceiveRequest<T> : ProtocolIORequest |
SendAndReceive |
data class SendAndReceive<T> : SendRequest, ReceiveRequest<T> |
SendOnly |
data class SendOnly : SendRequest |
SendRequest |
interface SendRequest : ProtocolIORequest |
StateMachineManager |
class StateMachineManager A StateMachineManager is responsible for coordination and persistence of multiple ProtocolStateMachine objects. Each such object represents an instantiation of a (two-party) protocol that has reached a particular point. |
StackSnapshot |
class StackSnapshot : Throwable |