Module sim

Source
Expand description

Local simulated channel implementation.

Structs§

SimAddr
An address for a simulated channel.
SimDispatcher
Primarily used for dispatching messages to the correct sender.

Functions§

bind
Bind a channel address to the simnet. It will register the address as a node in simnet, and configure default latencies between this node and all other existing nodes.
parse
Parse the sim channel address. It should have two non-sim channel addresses separated by a comma.