CBLMessageEndpoint

@interface CBLMessageEndpoint : NSObject <CBLEndpoint>

ENTERPRISE EDITION ONLY.

Message endpoint.

  • uid

    The unique identifier of the endpoint.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull uid;
  • The target used for storing any arbitary value representing the endpoint.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) id target;
  • The data transportation protocol.

    Declaration

    Objective-C

    @property (nonatomic, readonly) int protocolType;
  • The delegate for creating CBLMessageEndpointConnection object.

    Declaration

    Objective-C

    @property (nonatomic, weak, readonly) id<CBLMessageEndpointDelegate> _Nullable delegate;
  • Initializes a CBLMessageEndpoint object.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUID:(nonnull NSString *)uid
                                 target:(nullable id)target
                           protocolType:(id)protocolType
                               delegate:
                                   (nonnull id<CBLMessageEndpointDelegate>)delegate;

    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.

    Return Value

    The CBLMessageEndpoint object.

  • Unavailable

    Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;