CosimConnection constructor

CosimConnection(
  1. Socket socket,
  2. {Future<void> disconnect(
      ) = _defaultDisconnect}
    )

    A connection to cosimulation via socket.

    Will run disconnect when the cosimulation is over.

    Implementation

    CosimConnection(this.socket, {this.disconnect = _defaultDisconnect});