Package edu.cornell.cs.apl.viaduct.runtime

Types

Boxed
Link copied to clipboard
abstract class Boxed
EquivocationException
Link copied to clipboard
class EquivocationException(expectedValue: Any?, expectedValueProvider: Host, actualValue: Any?, actualValueProvider: Host) : ViaductRuntimeException

Thrown when a Host catches the attacker trying to equivocate.

Runtime
Link copied to clipboard
interface Runtime
ViaductRuntime
Link copied to clipboard
abstract class ViaductRuntime : Runtime
ViaductRuntimeException
Link copied to clipboard
abstract class ViaductRuntimeException(message: String) : RuntimeException

Functions

assertEquals
Link copied to clipboard
fun <T> assertEquals(expectedValue: T, expectedValueProvider: Host, actualValue: T, actualValueProvider: Host)
receive
Link copied to clipboard
inline suspend fun <T> Runtime.receive(sender: Host): T
send
Link copied to clipboard
inline suspend fun <T> Runtime.send(value: T, receiver: Host)