UDXP2PStreamAdapter class
Methods
-
close()
→ Future<void>
-
Closes the stream.
override
-
closeRead()
→ Future<void>
-
Closes the stream for reading but leaves it open for writing.
override
-
closeWrite()
→ Future<void>
-
Closes the stream for writing but leaves it open for reading.
override
-
id()
→ String
-
Returns an identifier that uniquely identifies this Stream within this
host, during this run. Stream IDs may repeat across restarts.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
protocol()
→ String
-
Returns the protocol ID associated with this stream
override
-
read([int? maxLength])
→ Future<Uint8List>
-
Reads data from the stream.
override
-
reset()
→ Future<void>
-
Resets closes both ends of the stream. Use this to tell the remote
side to hang up and go away.
override
-
scope()
→ StreamManagementScope
-
Returns the management view of this stream's resource scope
override
-
setDeadline(DateTime? time)
→ Future<void>
-
Sets a deadline for all operations on the stream.
override
-
setProtocol(String protocolId)
→ Future<void>
-
Sets the protocol for this stream
override
-
setReadDeadline(DateTime time)
→ Future<void>
-
Sets a deadline for read operations on the stream.
override
-
setWriteDeadline(DateTime time)
→ Future<void>
-
Sets a deadline for write operations on the stream.
override
-
stat()
→ StreamStats
-
Returns metadata pertaining to this stream
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
write(List<int> data)
→ Future<void>
-
Writes data to the stream.
override