public class SocketFactory extends Object
Constructor and Description |
---|
SocketFactory(ReplicatorConfiguration config,
CBLCookieStore cookieStore,
Fn.Consumer<List<Certificate>> serverCertsListener) |
Modifier and Type | Method and Description |
---|---|
C4Socket |
createSocket(long handle,
String scheme,
String hostname,
int port,
String path,
byte[] options) |
void |
setListener(Fn.Consumer<C4Socket> listener) |
public SocketFactory(@NonNull ReplicatorConfiguration config, @NonNull CBLCookieStore cookieStore, @NonNull Fn.Consumer<List<Certificate>> serverCertsListener)