UrlEndpointListener class abstract final Replication Enterprise Edition

A listener to provide a Web-Socket based endpoint for peer-to-peer replication.

This API is only available in the Enterprise Edition.

Once the listener is started, peer Replicators can connect to the listener by using an UrlEndpoint.

A started listener will keep the current isolate from exiting until the listener is stopped.

Properties

config → UrlEndpointListenerConfiguration
The configuration of this listener.
no setter
connectionStatus → ConnectionStatus
The current ConnectionStatus of this listener.
no setter
hashCode → int
The hash code for this object.
no setterinherited
port → int?
The port this listener is listening on.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tlsIdentity → TlsIdentity?
The TlsIdentity used for TLS communication by this listener.
no setter
urls → List<Uri>?
The URLs this listener is listening on.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → Future<void>
Starts this listener.
stop() → Future<void>
Stops this listener.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

create(UrlEndpointListenerConfiguration config) → Future<UrlEndpointListener>
Creates a new UrlEndpointListener with the specified configuration.