NativeSegmentedBufferTransport class abstract interface

Optional native submission of already encoded CBOR/MessagePack/JSON frames. FlatBuffers transports use NativeFrameTransport to validate their profile.

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
nativeBuffers → NativeBufferAllocator
no setterinherited
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.
inherited
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.
inherited
sendEncodedNativeBufferSegments(List<NativeOwnedBuffer> segments) → void
sendEncodedNativeBufferSegmentsTracked(List<NativeOwnedBuffer> segments) → NativeWriteReceipt
sendEncodedNativeBufferTracked(NativeOwnedBuffer buffer, {bool transfer = false}) → NativeWriteReceipt
inherited
toString() → String
A string representation of this object.
inherited

Operators

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