Class AbstractWebSocket
java.lang.Object
org.jivesoftware.smack.websocket.impl.AbstractWebSocket
- Direct Known Subclasses:
Java11WebSocket,OkHttpWebSocket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ModularXmppClientToServerConnectionInternalprotected final WebSocketRemoteConnectionEndpointprotected final SmackFuture.InternalSmackFuture<AbstractWebSocket,Exception> protected static final Loggerprotected static final Stringprotected static final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractWebSocket(WebSocketRemoteConnectionEndpoint endpoint, ModularXmppClientToServerConnectionInternal connectionInternal) -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddisconnect(int code, String message) abstract SSLSessionbooleanprotected final voidonIncomingWebSocketElement(String element) protected voidonWebSocketFailure(Throwable throwable) protected abstract voidfinal voidsend(TopLevelStreamElement element) final StringtoString()
-
Field Details
-
LOGGER
-
SEC_WEBSOCKET_PROTOCOL_HEADER_FILED_NAME
- See Also:
-
SEC_WEBSOCKET_PROTOCOL_HEADER_FILED_VALUE_XMPP
- See Also:
-
future
-
connectionInternal
-
endpoint
-
-
Constructor Details
-
AbstractWebSocket
protected AbstractWebSocket(WebSocketRemoteConnectionEndpoint endpoint, ModularXmppClientToServerConnectionInternal connectionInternal)
-
-
Method Details