- Implemented types
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAlive → bool
-
no setter
- isAvailable → bool
-
ready for reading
no setter
- isBlocking → bool
-
no setter
- isBound → bool
-
no setter
- isClosed → bool
-
Tells whether or not this channel is open.
no setterinherited
- isConnected → bool
-
no setter
- isVacant → bool
-
ready for writing
no setter
- localAddress → SocketAddress?
-
no setter
- remoteAddress → SocketAddress?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ChannelStatus
-
Channel State Order
no setter
Methods
-
bind(
SocketAddress local) → Future< NetworkChannel?> -
close(
) → Future< void> -
Closes this stream and releases any system resources associated
with it. If the stream is already closed then invoking this
method has no effect.
inherited
-
configureBlocking(
bool block) → SelectableChannel? -
connect(
SocketAddress remote) → Future< NetworkChannel?> -
disconnect(
) → Future< ByteChannel?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
int maxLen) → Future< Uint8List?> -
Reads a sequence of bytes from this channel into the given buffer.
inherited
-
receive(
int maxLen) → Future< Pair< Uint8List?, SocketAddress?> > - Receives a data package via this channel.
-
send(
Uint8List src, SocketAddress target) → Future< int> - Sends a data package via this channel.
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List src) → Future< int> -
Writes a sequence of bytes to this channel from the given buffer.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited