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