Channel class

Constructors

Channel (Handle handle)

Channel.fromFile (String path)

Gets a Channel for accessing the file at path. factory

Properties

handleHandle

read-onlyinherited

hashCode → int

The hash code for this object.
read-onlyinherited

isValid → bool

read-onlyinherited

runtimeType → Type

A representation of the runtime type of the object.
read-onlyinherited

Methods

close() void

inherited

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
inherited

passHandle() Handle

inherited

queryAndRead() ReadResult
queryAndReadEtc() ReadEtcResult
toString() String

A string representation of this object.
inherited

write(ByteData data, [List<Handle> handles]) int
writeEtc(ByteData data, [List<HandleDisposition> handleDispositions]) int

Operators

operator ==(Object other) bool

The equality operator.
inherited

Constants

MAX_MSG_BYTES const int
MAX_MSG_HANDLES const int
PEER_CLOSED const int
READ_MAY_DISCARD const int
READABLE const int
WRITABLE const int