Interface C4Listener.NativeImpl

  • All Known Implementing Classes:
    NativeC4Listener
    Enclosing class:
    C4Listener

    public static interface C4Listener.NativeImpl
    Native Implementation
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int SYNC_API  
    • Method Detail

      • nStartHttp

        long nStartHttp​(long token,
                        int port,
                        @Nullable
                        String iFace,
                        int apis,
                        @NonNull
                        String dbPath,
                        boolean allowCreateDBs,
                        boolean allowDeleteDBs,
                        boolean push,
                        boolean pull,
                        boolean deltaSync,
                        boolean requirePasswordAuth)
                 throws LiteCoreException
        Throws:
        LiteCoreException
      • nStartTls

        long nStartTls​(long token,
                       int port,
                       @Nullable
                       String iFace,
                       int apis,
                       @NonNull
                       String dbPath,
                       boolean allowCreateDBs,
                       boolean allowDeleteDBs,
                       boolean allowPush,
                       boolean allowPull,
                       boolean deltaSync,
                       long keyPair,
                       @NonNull
                       byte[] serverCert,
                       boolean requireClientCerts,
                       @Nullable
                       byte[] rootClientCerts,
                       boolean requirePasswordAuth)
                throws LiteCoreException
        Throws:
        LiteCoreException
      • nFree

        void nFree​(long peer)
      • nGetPort

        int nGetPort​(long peer)
      • nGetConnectionStatus

        @NonNull
        ConnectionStatus nGetConnectionStatus​(long peer)
      • nGetUriFromPath

        @NonNull
        String nGetUriFromPath​(@NonNull
                               String path)