CosimConnection class

Represents a connection to a cosimulation.

Constructors

CosimConnection(Socket socket, {Future<void> disconnect() = _defaultDisconnect})
A connection to cosimulation via socket.

Properties

disconnect Future<void> Function()
A flow to run as part of disconnection from cosimulation.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket Socket
A socket to communicate with the cosimulation.
final

Methods

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