McpByteChannel class abstract interface

The raw byte channel an McpStdioTransport frames: stdout bytes in, stdin bytes out. The dart:io implementation wraps a spawned process; tests substitute in-memory fakes.

Implementers

Properties

exitCode Future<int>
Completes with the server's exit code when the process ends.
no setter
hashCode int
The hash code for this object.
no setterinherited
messages Stream<List<int>>
Raw bytes from the server's stdout.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

kill() → void
Terminates the server process. Idempotent.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
write(List<int> data) → void
Writes raw (already framed) bytes to the server's stdin.

Operators

operator ==(Object other) bool
The equality operator.
inherited