UrlEndpointListenerConfiguration class final Replication Enterprise Edition
The configuration for an UrlEndpointListener.
This API is only available in the Enterprise Edition.
Constructors
-
UrlEndpointListenerConfiguration.new({required List<
Collection> collections, int? port, String? networkInterface, bool disableTls = false, TlsIdentity? tlsIdentity, ListenerAuthenticator? authenticator, bool enableDeltaSync = false, bool readOnly = false}) - Creates a new UrlEndpointListenerConfiguration with the specified parameters.
- UrlEndpointListenerConfiguration.from(UrlEndpointListenerConfiguration config)
-
Creates a new UrlEndpointListenerConfiguration that is initialized with
the state of the given
config
.
Properties
- authenticator ↔ ListenerAuthenticator?
-
The ListenerAuthenticator to authenticate clients connecting to the
listener.
getter/setter pair
-
collections
↔ List<
Collection> -
The Collections available for replication.
getter/setter pair
- disableTls ↔ bool
-
Whether to disable TLS communication.
getter/setter pair
- enableDeltaSync ↔ bool
-
Whether to allow delta sync when replicating with the listener.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- networkInterface ↔ String?
-
The network interface in the form of an IP Address or network interface
name such as
en0
that the listener will listen to.getter/setter pair - port ↔ int?
-
The port that the listener will listen to.
getter/setter pair
- readOnly ↔ bool
-
Whether to only allow pull replication with the listener.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tlsIdentity ↔ TlsIdentity?
-
The TlsIdentity to use for TLS communication.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited