NativeBufferTransport class abstract interface

A native ownership operation failed. Negative codes match the native ABI. Optional VM-only capability of the native RawSocket/WebSocket transports.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
nativeBuffers → NativeBufferAllocator
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

drainWrites() → Future<void>
Flush everything accepted before this call in the native writer queue. Requires the write-receipt ABI; an abandoned barrier fails explicitly.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendEncodedNativeBuffer(NativeOwnedBuffer buffer, {bool transfer = false}) → void
Submit a complete frame for the selected serializer. Reports acceptance into the local queue; retained sends preserve the caller's buffer.
sendEncodedNativeBufferTracked(NativeOwnedBuffer buffer, {bool transfer = false}) → NativeWriteReceipt
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited