Package com.couchbase.lite.internal
Class AbstractSocketFactory
- java.lang.Object
-
- com.couchbase.lite.internal.AbstractSocketFactory
-
- Direct Known Subclasses:
SocketFactory
public abstract class AbstractSocketFactory extends Object
Base class for socket factories.
-
-
Constructor Summary
Constructors Constructor Description AbstractSocketFactory(ReplicatorConfiguration config, CBLCookieStore cookieStore, Fn.Consumer<List<Certificate>> serverCertsListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description C4Socket
createSocket(long peer, String scheme, String host, int port, String path, byte[] opts)
void
setListener(Fn.Consumer<C4Socket> listener)
String
toString()
-
-
-
Constructor Detail
-
AbstractSocketFactory
public AbstractSocketFactory(@NonNull ReplicatorConfiguration config, @NonNull CBLCookieStore cookieStore, @NonNull Fn.Consumer<List<Certificate>> serverCertsListener)
-
-