Alchemist Network Manager
Emulates a NetworkManager. This particular network manager does not send messages instantly. Instead, it records the last message to send, and only when simulateMessageArrival is called the transfer is actually done.
Constructors
Link copied to clipboard
open fun AlchemistNetworkManager(executionTime: Reaction<Any>, program: RunProtelisProgram<out Any>)
Content copied to clipboard
Link copied to clipboard
open fun AlchemistNetworkManager(executionTime: Reaction<Any>, program: RunProtelisProgram<out Any>, retentionTime: Double)
Content copied to clipboard
Link copied to clipboard
open fun AlchemistNetworkManager(executionTime: Reaction<Any>, program: RunProtelisProgram<out Any>, retentionTime: Double, distanceLossDistribution: RealDistribution)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Simulates the arrival of the message to other nodes.
Properties
Link copied to clipboard
private open val neighborState: ImmutableMap<DeviceUID, Map<CodePath, Any>>
Content copied to clipboard