Class OkHttpWebSocket
- java.lang.Object
-
- org.jivesoftware.smack.websocket.impl.AbstractWebSocket
-
- org.jivesoftware.smack.websocket.okhttp.OkHttpWebSocket
-
public final class OkHttpWebSocket extends AbstractWebSocket
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.smack.websocket.impl.AbstractWebSocket
connectionInternal, endpoint, future, LOGGER, SEC_WEBSOCKET_PROTOCOL_HEADER_FILED_NAME, SEC_WEBSOCKET_PROTOCOL_HEADER_FILED_VALUE_XMPP
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disconnect(int code, String message)
SSLSession
getSSLSession()
void
send(String element)
-
Methods inherited from class org.jivesoftware.smack.websocket.impl.AbstractWebSocket
getEndpoint, getFuture, isConnectionSecure, onIncomingWebSocketElement, onWebSocketFailure, send, toString
-
-
-
-
Method Detail
-
send
public void send(String element)
- Specified by:
send
in classAbstractWebSocket
-
disconnect
public void disconnect(int code, String message)
- Specified by:
disconnect
in classAbstractWebSocket
-
getSSLSession
public SSLSession getSSLSession()
- Specified by:
getSSLSession
in classAbstractWebSocket
-
-