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