Package com.couchbase.lite
Class MessageEndpoint
java.lang.Object
com.couchbase.lite.MessageEndpoint
- All Implemented Interfaces:
 Endpoint
ENTERPRISE EDITION API
 
Replication Message endpoint.
- 
Constructor Summary
ConstructorsConstructorDescriptionMessageEndpoint(String uid, Object target, ProtocolType protocolType, MessageEndpointDelegate delegate) Initializes a CBLMessageEndpoint object. - 
Method Summary
Modifier and TypeMethodDescriptionGets the delegate object used for creating MessageEndpointConnection objects.com.couchbase.lite.internal.sockets.MessageFramingGets the data transportation protocol of the endpoint.Gets the target object which is an arbitrary object that represents the endpoint.getUid()Gets the unique identifier of the endpoint.toString() 
- 
Constructor Details
- 
MessageEndpoint
public MessageEndpoint(@NonNull String uid, @Nullable Object target, @NonNull ProtocolType protocolType, @NonNull MessageEndpointDelegate delegate) Initializes a CBLMessageEndpoint object.- Parameters:
 uid- the unique identifier of the endpointtarget- an optional arbitrary object that represents the endpointprotocolType- the data transportation protocoldelegate- the delegate for creating MessageEndpointConnection objects
 
 - 
 - 
Method Details
- 
getUid
Gets the unique identifier of the endpoint.- Returns:
 - the unique identifier of the endpoint
 
 - 
getTarget
Gets the target object which is an arbitrary object that represents the endpoint.- Returns:
 - the target object.
 
 - 
getProtocolType
Gets the data transportation protocol of the endpoint.- Returns:
 - the data transportation protocol
 
 - 
getDelegate
Gets the delegate object used for creating MessageEndpointConnection objects.- Returns:
 - the delegate object.
 
 - 
toString
 - 
getMessageFraming
@Internal("This method is not part of the public API: it is for internal use only") @NonNull public com.couchbase.lite.internal.sockets.MessageFraming getMessageFraming() 
 -