Class MessageEndpoint
An endpoint that will communicate over an arbitrary line of communication that is implemented in application space
Inheritance
Implements
Inherited Members
Namespace: Couchbase.Lite.P2P
Assembly: Couchbase.Lite.dll
Syntax
public sealed class MessageEndpoint : IEndpoint
Remarks
NOTE: This is an enterprise edition feature
Constructors
| Improve this Doc View SourceMessageEndpoint(String, Object, ProtocolType, IMessageEndpointDelegate)
Constructs a new message endpoint
Declaration
public MessageEndpoint(string uid, object target, ProtocolType protocolType, IMessageEndpointDelegate delegateObject)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | uid | The unique identifier for this endpoint |
| System.Object | target | The object representing the route to the remote side of this endpoint (e.g. url) |
| ProtocolType | protocolType | The type of protocol connections created by this endpoint use |
| IMessageEndpointDelegate | delegateObject | The delegate for creating connections for this endpoint |
Remarks
NOTE: This is an enterprise edition feature
Properties
| Improve this Doc View SourceDelegate
Gets the delegate object assigned to this endpoint
Declaration
public IMessageEndpointDelegate Delegate { get; }
Property Value
| Type | Description |
|---|---|
| IMessageEndpointDelegate |
Remarks
NOTE: This is an enterprise edition feature
ProtocolType
Gets the type of protocol that connections created by this endpoint use
Declaration
public ProtocolType ProtocolType { get; }
Property Value
| Type | Description |
|---|---|
| ProtocolType |
Remarks
NOTE: This is an enterprise edition feature
Target
Gets the object representing the route to the remote side of this endpoint (e.g. url)
Declaration
public object Target { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Remarks
NOTE: This is an enterprise edition feature
Uid
Gets the unique identifier for this endpoint
Declaration
public string Uid { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
NOTE: This is an enterprise edition feature