IsolateAdapter class

A Adapter implementation that communicates via SendPorts and ReceivePorts.

Inheritance

Constructors

IsolateAdapter()

Properties

hashCode int
The hash code for this object.
no setterinherited
onPublish Stream<PublishRequest>
Fires an event whenever a client tries to publish data.
no setteroverride
onSubscribe Stream<SubscriptionRequest>
Fires whenever a client tries to subscribe to an event.
no setteroverride
onUnsubscribe Stream<UnsubscriptionRequest>
Fires whenever a client cancels a subscription.
no setteroverride
receivePort ReceivePort
A ReceivePort on which to listen for incoming data.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future
Disposes of this adapter.
override
isTrustedPublishRequest(PublishRequest request) bool
Determines if a given request comes from a trusted source.
override
isTrustedSubscriptionRequest(SubscriptionRequest request) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → void
Start listening for incoming clients.
override
toString() String
A string representation of this object.
inherited

Operators

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