URLEndpointListenerConfiguration
Create a URLEndpointListenerConfiguration with the passed properties. The set of passed Collections must contain at least one collection and all of the collections it contains must belong to the same scope and the same database, otherwise an InvalidArgumentException will be thrown. If one of the specified collections is deleted during replication, connected clients will be closed with an error.
Parameters
the collections to which the listener is attached
the name of the interface on which to receive connections
the ip port (0 - 65535) on which to configure the listener. Default is 0: first available
set true to turn of TLS. Default is false
the identity this listener will use to authenticate itself
the predicate used to authenticate clients
set true to prevent modification of the local connections
set true to turn on fast synching.
Clone the passed listener configuration.
Parameters
the configuration to duplicate
Deprecated
Use URLEndpointListenerConfiguration(Collections)
Replace with
URLEndpointListenerConfiguration(setOf(database.defaultCollection), networkInterface, port, disableTls, identity, authenticator, readOnly, enableDeltaSync)
Create a listener configuration, for the specified database, with default values.
Parameters
the database to which the listener is attached
Deprecated
Use URLEndpointListenerConfiguration(Collections)
Replace with
URLEndpointListenerConfiguration(setOf(database.defaultCollection), networkInterface, port, disableTls, identity, authenticator, readOnly, enableDeltaSync)
Deprecated
Use URLEndpointListenerConfiguration(Collections)
Replace with
URLEndpointListenerConfiguration(setOf(database.defaultCollection), networkInterface, port, disableTls, identity, authenticator, readOnly, enableDeltaSync)