Class MessageEndpointListenerConfiguration
A class for configuring a new MessageEndpointListener instance
Inheritance
System.Object
MessageEndpointListenerConfiguration
Namespace: Couchbase.Lite.P2P
Assembly: Couchbase.Lite.dll
Syntax
public sealed class MessageEndpointListenerConfiguration : object
Remarks
NOTE: This is an enterprise edition feature
Constructors
| Improve this Doc View SourceMessageEndpointListenerConfiguration(Database, ProtocolType)
Constructs a new configuration object
Declaration
public MessageEndpointListenerConfiguration(Database database, ProtocolType protocolType)
Parameters
Type | Name | Description |
---|---|---|
Database | database | The local database to operate on |
ProtocolType | protocolType | The protocol type that connections to the listener use |
Remarks
NOTE: This is an enterprise edition feature
Properties
| Improve this Doc View SourceDatabase
Gets the database that this listener operates on locally
Declaration
public Database Database { get; }
Property Value
Type | Description |
---|---|
Database |
Remarks
NOTE: This is an enterprise edition feature
ProtocolType
Gets the protocol type that connections to this listener use (note: Must match the protocol type on the corresponding MessageEndpoint on the other side)
Declaration
public ProtocolType ProtocolType { get; }
Property Value
Type | Description |
---|---|
ProtocolType |
Remarks
NOTE: This is an enterprise edition feature