Package-level declarations

Types

Link copied to clipboard
class Boxed<T>(value: T)

Represents a mutable cell.

Link copied to clipboard
Link copied to clipboard

Thrown when a Host catches the attacker trying to equivocate.

Link copied to clipboard
Link copied to clipboard

Thrown when the runtime fails to establish a connection to a host.

Link copied to clipboard
interface IOStrategy
Link copied to clipboard
interface NetworkStrategy
Link copied to clipboard
class Out<T : Any>

Represents an output argument of a function call.

Link copied to clipboard
class ScannerIOStrategy(input: Scanner, output: Writer = System.out.writer(Charset.defaultCharset())) : IOStrategy
Link copied to clipboard
class TCPNetworkStrategy(host: Host, hostAddresses: Map<Host, InetSocketAddress>, connectionNumRetry: Int = CONNECTION_NUM_RETRY, connectionRetryDelay: Long = CONNECTION_RETRY_DELAY) : NetworkStrategy, Closeable

Implementation of a pairwise connected network using TCP sockets.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
inline fun <T> NetworkStrategy.receive(sender: Host): T
Link copied to clipboard
inline fun <T> NetworkStrategy.send(value: T, receiver: Host)