Package com.couchbase.lite.internal.core
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
nFree(long peer)
ConnectionStatus
nGetConnectionStatus(long peer)
int
nGetPort(long peer)
String
nGetUriFromPath(String path)
List<String>
nGetUrls(long peer, long c4Db)
void
nShareDb(long peer, String name, long c4Db)
long
nStartHttp(long token, int port, String iFace, int apis, String dbPath, boolean allowCreateDBs, boolean allowDeleteDBs, boolean push, boolean pull, boolean deltaSync, boolean requirePasswordAuth)
long
nStartTls(long token, int port, String iFace, int apis, String dbPath, boolean allowCreateDBs, boolean allowDeleteDBs, boolean allowPush, boolean allowPull, boolean deltaSync, long keyPair, byte[] serverCert, boolean requireClientCerts, byte[] rootClientCerts, boolean requirePasswordAuth)
void
nUnshareDb(long peer, long c4Db)
-
-
-
Field Detail
-
SYNC_API
static final int SYNC_API
- See Also:
- Constant Field Values
-
-
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)
-
nShareDb
void nShareDb(long peer, @NonNull String name, long c4Db) throws LiteCoreException
- Throws:
LiteCoreException
-
nUnshareDb
void nUnshareDb(long peer, long c4Db) throws LiteCoreException
- Throws:
LiteCoreException
-
nGetUrls
@NonNull List<String> nGetUrls(long peer, long c4Db) throws LiteCoreException
- Throws:
LiteCoreException
-
nGetPort
int nGetPort(long peer)
-
nGetConnectionStatus
@NonNull ConnectionStatus nGetConnectionStatus(long peer)
-
-