public static interface C4Listener.NativeImpl
Modifier and Type | Field and Description |
---|---|
static int |
SYNC_API |
Modifier and Type | Method and Description |
---|---|
void |
nFree(long handle) |
ConnectionStatus |
nGetConnectionStatus(long handle) |
int |
nGetPort(long handle) |
String |
nGetUriFromPath(String path) |
List<String> |
nGetUrls(long handle,
long c4Db) |
void |
nShareDb(long handle,
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 handle,
long c4Db) |
static final int SYNC_API
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
LiteCoreException
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
LiteCoreException
void nFree(long handle)
void nShareDb(long handle, @NonNull String name, long c4Db) throws LiteCoreException
LiteCoreException
void nUnshareDb(long handle, long c4Db) throws LiteCoreException
LiteCoreException
@NonNull List<String> nGetUrls(long handle, long c4Db) throws LiteCoreException
LiteCoreException
int nGetPort(long handle)
@NonNull ConnectionStatus nGetConnectionStatus(long handle)