AsyncProxyController<T> class

Constructors

AsyncProxyController ({String $serviceName, String $interfaceName})

Creates proxy controller. ...

Properties

$interfaceName → String

The name of the interface of T. ...
final

$serviceName → String

The service name associated with T, if any. ...
final

hashCode → int

The hash code for this object. ...
read-only, inherited

isBound → bool

Is this interface bound?
read-only, inherited

isClosed → bool

Is this interface closed?
read-only, inherited

isUnbound → bool

Is this interface unbound?
read-only, inherited

onEpitaphReceivedEpitaphHandler

Called when an epitaph is received (from channel closure).
read / write

onResponseIncomingMessageSink

Called whenever this object receives a response on a bound channel. ...
read / write

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

stateInterfaceState

Gets the current state.
read / write, inherited

stateChanges → Stream<InterfaceState>

A stream of state changes.
read-only, inherited

whenBound → Future<void>

A future that completes when the interface becomes bound.
read-only, inherited

whenClosed → Future<void>

A future that completes when the interface is closed.
read-only, inherited

Methods

bind(InterfaceHandle<T> interfaceHandle) void

Binds the proxy to the given interface handle. ...

close() void

Close the channel bound to the proxy. ...

getCompleter(int txid) Completer

Returns the completer associated with the given response message. ...

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

proxyError(FidlError error) void

close the channel and forwards error to any open completers.

request() InterfaceRequest<T>

Creates an interface request whose peer is bound to this interface proxy. ...

sendMessage(OutgoingMessage message) void

Sends the given messages over the bound channel. ...

sendMessageWithResponse(OutgoingMessage message, Completer completer) void

Sends the given messages over the bound channel and registers a Completer to handle the response. ...

toString() String

A string representation of this object. ...
inherited

unbind() InterfaceHandle<T>

Unbinds the proxy and returns the unbound channel as an interface handle. ...

Operators

operator ==(Object other) bool

The equality operator. ...
inherited