MessageEndpoint

public class MessageEndpoint : IEndpoint

ENTERPRISE EDITION ONLY.

Message endpoint.

  • uid

    The unique identifier of the endpoint.

    Declaration

    Swift

    public let uid: String
  • The target used for storing any arbitary value representing the endpoint.

    Declaration

    Swift

    public let target: Any?
  • The data transportation protocol.

    Declaration

    Swift

    public let protocolType: ProtocolType
  • The delegate for creating CBLMessageEndpointConnection object.

    Declaration

    Swift

    public let delegate: MessageEndpointDelegate
  • Initializes a CBLMessageEndpoint object.

    Declaration

    Swift

    public init(uid: String, target: Any?,
        protocolType: ProtocolType, delegate: MessageEndpointDelegate)

    Parameters

    uid

    The unique identifier of the endpoint.

    target

    An optional arbitrary object that represents the endpoint.

    protocolType

    The data transportation protocol.

    delegate

    The delegate for creating CBLMessageEndpointConnection objects.