alchemist-incarnation-protelis / it.unibo.alchemist.protelis / AlchemistNetworkManager / <init>

<init>

AlchemistNetworkManager(environment: Environment<Any!, *>!, local: ProtelisNode<Position<*>!>!, executionTime: Reaction<Any!>!, program: RunProtelisProgram<*>!)

Parameters

environment - Environment<Any!, *>!: the environment

local - ProtelisNode<Position<*>!>!: the node

executionTime - Reaction<Any!>!: the reaction hosting the NetworkManager

program - RunProtelisProgram<*>!: the RunProtelisProgram

AlchemistNetworkManager(environment: Environment<Any!, *>!, local: ProtelisNode<Position<*>!>!, executionTime: Reaction<Any!>!, program: RunProtelisProgram<*>!, retentionTime: Double)

Parameters

environment - Environment<Any!, *>!: the environment

local - ProtelisNode<Position<*>!>!: the node

executionTime - Reaction<Any!>!: the reaction hosting the NetworkManager

program - RunProtelisProgram<*>!: the RunProtelisProgram

retentionTime - Double: how long the messages will be stored. Pass Double#NaN to mean that they should get eliminated upon node awake.