public class AbstractCBLWebSocket extends C4Socket
Modifier and Type | Field and Description |
---|---|
static NativeContext<KeyManager> |
CLIENT_CERT_AUTH_KEY_MANAGER |
static long |
DEFAULT_HEARTBEAT_SEC |
NO_FRAMING, WEB_SOCKET_CLIENT_FRAMING, WEB_SOCKET_SERVER_FRAMING, WS_STATUS_CLOSE_ABNORMAL, WS_STATUS_CLOSE_BAD_MESSAGE_FORMAT, WS_STATUS_CLOSE_CANT_FULFILL, WS_STATUS_CLOSE_DATA_ERROR, WS_STATUS_CLOSE_MESSAGE_TO_BIG, WS_STATUS_CLOSE_MISSING_EXTENSION, WS_STATUS_CLOSE_NO_CODE, WS_STATUS_CLOSE_NORMAL, WS_STATUS_CLOSE_POLICY_ERROR, WS_STATUS_CLOSE_PROTOCOL_ERROR, WS_STATUS_CLOSE_TLS_FAILURE, WS_STATUS_CLOSE_USER, WS_STATUS_CLOSE_USER_PERMANENT, WS_STATUS_CLOSE_USER_TRANSIENT, WS_STATUS_GOING_AWAY
Modifier and Type | Method and Description |
---|---|
static CBLWebSocket |
createCBLWebSocket(long handle,
String scheme,
String hostname,
int port,
String path,
byte[] options,
CBLCookieStore cookieStore,
Fn.Consumer<List<Certificate>> serverCertsListener) |
okhttp3.OkHttpClient |
getHttpClient() |
String |
toString() |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, updateAndGet, weakCompareAndSet
byteValue, shortValue
public static final long DEFAULT_HEARTBEAT_SEC
@NonNull public static final NativeContext<KeyManager> CLIENT_CERT_AUTH_KEY_MANAGER
public static CBLWebSocket createCBLWebSocket(long handle, String scheme, String hostname, int port, String path, byte[] options, @NonNull CBLCookieStore cookieStore, @NonNull Fn.Consumer<List<Certificate>> serverCertsListener)
@NonNull public String toString()
toString
in class AtomicLong
public okhttp3.OkHttpClient getHttpClient()