ViaductRuntime

class ViaductRuntime(host: Host, program: ProgramNode, protocolAnalysis: ProtocolAnalysis, hostConnectionInfo: Map<Host, HostAddress>, backends: List<ProtocolBackend>, strategy: Strategy)

Types

Companion
Link copied to clipboard
object Companion

Functions

getHostById
Link copied to clipboard
fun getHostById(id: HostId): HostInfo
getProcessById
Link copied to clipboard
fun getProcessById(id: ProcessId): ProcessInfo
input
Link copied to clipboard
suspend fun input(): Value
output
Link copied to clipboard
suspend fun output(value: Value)
receive
Link copied to clipboard
suspend fun receive(event: CommunicationEvent): Value
suspend fun receive(sender: Process, receiver: Process): Value
send
Link copied to clipboard
suspend fun send(value: Value, event: CommunicationEvent)
suspend fun send(value: Value, sender: Process, receiver: Process)
start
Link copied to clipboard
fun start()

Properties

host
Link copied to clipboard
val host: Host