ConnectionIsolate class
Manages a single QUIC connection inside its own isolate.
Stub implementation for platforms without isolate support. Runs all connection processing synchronously in the main thread.
Constructors
- ConnectionIsolate({required QuicConnection connection, required dynamic sendPort, required String connectionId})
Properties
- connection → QuicConnection
-
final
- connectionId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- incomingPort → dynamic
-
The port that the supervisor should use to send messages to this isolate.
no setter
- isRunning → bool
-
Whether the isolate loop is currently running.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendPort → dynamic
-
Port back to the supervisor (ignored in stub).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendPacket(
Uint8List data, String address, int port) → void - Send an outgoing packet to the supervisor for UDP transmission.
-
start(
) → void - Start the isolate loop.
-
stop(
) → void - Stop the isolate loop.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited