Google is committed to advancing racial equity for Black communities. See how.

fidl library

Classes

ArrayType<T extends List>
AsyncBinding<T>

Listens for messages and dispatches them to an implementation of T.

AsyncProxy<T>

Sends messages to a remote implementation of T

AsyncProxyController<T>

A controller for Future based proxies.

Binding<T>

Listens for messages and dispatches them to an implementation of T.

Bits
BitsType<T extends Bits>
BoolType
ChannelType
Decoder
Encoder
Enum
EnumType<T extends Enum>
EnvelopeHeader
EventPairType
FidlType<T>
Float32Type
Float64Type
HandleType
Int8Type
Int16Type
Int32Type
Int64Type
InterfaceHandle<T>

A channel over which messages from interface T can be sent. ...

InterfaceHandleType<T>
InterfacePair<T>
InterfaceRequest<T>

A channel over which messages from interface T can be received. ...

InterfaceRequestType<T>
MemberType<T>
Message
MethodType
NullableFidlType<T>
PointerType<T>
Proxy<T>

Sends messages to a remote implementation of T

ProxyController<T>

The control plane for an interface proxy. ...

ProxyError

The object that ProxyController<T>.error completes with when there is an error.

Service

Representation of a service that all T implementations should extend from.

ServiceData<T>

Exposes the ability to get a hold of the service runtime name and bindings.

SocketType
StatusType
StringType
Struct
StructType<T extends Struct>
Table
TableType<T extends Table>
Uint8Type
Uint16Type
Uint32Type
Uint64Type
UnknownRawData
UnknownRawDataType

This encodes/decodes the UnknowRawData assuming it is in an envelope, i.e. payload bytes followed directly by handles.

VectorType<T extends List>
VmoType
XUnion
XUnionType<T extends XUnion>

Constants

epitaphOrdinal const int
kAllocAbsent const int
kAllocPresent const int
kHandleAbsent const int
kHandlePresent const int
kMagicNumberInitial const int
kMessageFlagOffset const int
kMessageHeaderSize const int
kMessageMagicOffset const int
kMessageOrdinalOffset const int
kMessageTxidOffset const int

Enums

FidlErrorCode
InterfaceState

The different states that an AsyncBinding or AsyncProxy can be in.

Typedefs

BitsFactory<T>(int value) T
EnumFactory<T>(int value) T
EpitaphHandler(int statusCode) void
MessageSink(Message message) void
StructDecode<T>(Decoder decoder, int offset) T
TableFactory<T>(Map<int, dynamic> argv) T
XUnionFactory<T>(int index, Object data) T

Exceptions / Errors

FidlError
FidlRangeCheckError
FidlStateException

An exception that's thrown if an AsyncBinding or AsyncProxy isn't in the required state for the requested operation.

MethodException<T>