ResourceHandle class - dart:io library (original) (raw)
A wrapper around OS resource handle so it can be passed via Socket as part of SocketMessage.
Constructors
ResourceHandle.fromFile(RandomAccessFile file)
Creates wrapper around opened file.
factory
ResourceHandle.fromRawDatagramSocket(RawDatagramSocket socket)
Creates wrapper around opened raw datagram socket.
factory
ResourceHandle.fromRawSocket(RawSocket socket)
Creates wrapper around opened raw socket.
factory
ResourceHandle.fromReadPipe(ReadPipe pipe)
factory
ResourceHandle.fromSocket(Socket socket)
Creates wrapper around opened socket.
factory
ResourceHandle.fromStdin(Stdin stdin)
Creates wrapper around current stdin.
factory
ResourceHandle.fromStdout(Stdout stdout)
Creates wrapper around current stdout.
factory
ResourceHandle.fromWritePipe(WritePipe pipe)
factory
Properties
The hash code for this object.
no setterinherited
A representation of the runtime type of the object.
no setterinherited
Methods
noSuchMethod(Invocation invocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Extracts opened file from resource handle.
toRawDatagramSocket()→ RawDatagramSocket
Extracts opened raw datagram socket from resource handle.
Extracts opened raw socket from resource handle.
Extracts a read pipe from resource handle.
Extracts opened socket from resource handle.
A string representation of this object.
inherited
Extracts a write pipe from resource handle.
Operators
operator ==(Object other)→ bool
The equality operator.
inherited