TerminalBackend class abstract
interface for every Terminal backend
Constructors
Properties
-
exitCode
→ Future<
int> -
Future that fires when the backend terminates
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
out
→ Stream<
String> -
Stream for data that gets read from the backend
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
ackProcessed(
) → void - acknowledges processing of a data junk
-
init(
) → void - initializes the backend This can be used to instantiate instances that are problematic when passed to a Isolate. The TerminalIsolate will pass the backend to the Terminal that then executes init from inside the Isolate. So when your backend needs any complex instances (most of them will) then strongly consider instantiating them here
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resize(
int width, int height, int pixelWidth, int pixelHeight) → void - notifies the backend about a view port resize that happened
-
terminate(
) → void - terminates this backend
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String input) → void - writes data to this backend
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited