CosimPortConfig class
Configuration to connect to cosimulation on a specified port.
- Inheritance
-
- Object
- CosimConfig
- CosimPortConfig
Constructors
- CosimPortConfig(int port, {bool enableLogging = false, bool throwOnUnexpectedEnd = false})
- Creates a configuration to connect to cosimulation on port port.
Properties
- enableLogging → bool
-
If true, additional debug logging will be enabled for cosimulation.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- port → int
-
The port to connect to for cosimulation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- throwOnUnexpectedEnd → bool
-
If true, throws an
UnexpectedEndOfSimulation
exception in case the cosimulation ends unexpectedly. Otherwise, just prints a warning.finalinherited
Methods
-
connect(
) → Future< CosimConnection> -
Initializes the connection to cosimulation.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited