object StartNode
Utilities to start a node in a simulation
All of them are simply conveniences to create an instance of se.sics.kompics.simulator.events.system.StartNodeEvent.
- Alphabetic
- By Inheritance
- StartNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[C <: kompics.ComponentDefinition, A](addresser: => Address, init: => kompics.Init[C], conf: Map[String, A], stringer: => String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[C]): StartNodeEvent
Create a node with address and init event, as well as a custom config and a custom
toString
implementationCreate a node with address and init event, as well as a custom config and a custom
toString
implementation- C
the component definition for the node
- A
the value type of the config updates
- addresser
a function that provides an address for the node
- init
a function that provides an init event for the node
- conf
config update values with config keys
- stringer
a custom implementation for
toString
for the event (for debugging)- returns
a simulator event that starts a node
- def apply[C <: kompics.ComponentDefinition](addresser: => Address, init: => kompics.Init[C], stringer: => String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[C]): StartNodeEvent
Create a node with address and init event, and a custom
toString
implementationCreate a node with address and init event, and a custom
toString
implementation- C
the component definition for the node
- addresser
a function that provides an address for the node
- init
a function that provides an init event for the node
- stringer
a custom implementation for
toString
for the event (for debugging)- returns
a simulator event that starts a node
- def apply[C <: kompics.ComponentDefinition, A](addresser: => Address, init: => kompics.Init[C], conf: Map[String, A])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[C]): StartNodeEvent
Create a node with address and init event, as well as a custom config
Create a node with address and init event, as well as a custom config
- C
the component definition for the node
- A
the value type of the config updates
- addresser
a function that provides an address for the node
- init
a function that provides an init event for the node
- conf
config update values with config keys
- returns
a simulator event that starts a node
- def apply[C <: kompics.ComponentDefinition](addresser: => Address, init: => kompics.Init[C])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[C]): StartNodeEvent
Create a node with address and init event
Create a node with address and init event
- C
the component definition for the node
- addresser
a function that provides an address for the node
- init
a function that provides an init event for the node
- returns
a simulator event that starts a node
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])