Class MessageEndpointListener

    • Method Detail

      • accept

        public void accept​(@NonNull
                           MessageEndpointConnection connection)
        Accept a new connection.
        Parameters:
        connection - new incoming connection
      • close

        public void close​(@NonNull
                          MessageEndpointConnection connection)
        Close the given connection.
        Parameters:
        connection - the connection to be closed
      • closeAll

        public void closeAll()
        Close all connections active at the time of the call.
      • removeChangeListener

        @Deprecated
        public void removeChangeListener​(@NonNull
                                         ListenerToken token)
        Deprecated.
        use ListenerToken.remove
        Remove a change listener.
        Parameters:
        token - identifier for the listener to be removed
      • dispatchStatusChanged

        public void dispatchStatusChanged​(@Nullable
                                          com.couchbase.lite.internal.core.C4Replicator repl,
                                          @Nullable
                                          com.couchbase.lite.internal.core.C4ReplicatorStatus status)