MuxedStream class abstract
MuxedStream is a bidirectional io pipe within a connection.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Closes the stream.
-
closeRead(
) → Future< void> - Closes the stream for reading but leaves it open for writing.
-
closeWrite(
) → Future< void> - Closes the stream for writing but leaves it open for reading.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
int length) → Future< List< int> > - Reads data from the stream.
-
reset(
) → Future< void> - Resets closes both ends of the stream. Use this to tell the remote side to hang up and go away.
-
setDeadline(
DateTime time) → void - Sets a deadline for all operations on the stream.
-
setReadDeadline(
DateTime time) → void - Sets a deadline for read operations on the stream.
-
setWriteDeadline(
DateTime time) → void - Sets a deadline for write operations on the stream.
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
List< int> data) → Future<void> - Writes data to the stream.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited