public abstract class AbstractWebSocket
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.jivesoftware.smack.c2s.internal.ModularXmppClientToServerConnectionInternal |
connectionInternal |
protected WebSocketRemoteConnectionEndpoint |
endpoint |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractWebSocket(WebSocketRemoteConnectionEndpoint endpoint,
org.jivesoftware.smack.c2s.internal.ModularXmppClientToServerConnectionInternal connectionInternal) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
disconnect(int code,
java.lang.String message) |
WebSocketRemoteConnectionEndpoint |
getEndpoint() |
abstract org.jivesoftware.smack.SmackFuture<AbstractWebSocket,java.lang.Exception> |
getFuture() |
abstract javax.net.ssl.SSLSession |
getSSLSession() |
abstract boolean |
isConnected() |
abstract boolean |
isConnectionSecure() |
protected void |
onIncomingWebSocketElement(java.lang.String element) |
protected abstract void |
send(java.lang.String element) |
void |
send(org.jivesoftware.smack.packet.TopLevelStreamElement element) |
protected final org.jivesoftware.smack.c2s.internal.ModularXmppClientToServerConnectionInternal connectionInternal
protected final WebSocketRemoteConnectionEndpoint endpoint
protected AbstractWebSocket(WebSocketRemoteConnectionEndpoint endpoint, org.jivesoftware.smack.c2s.internal.ModularXmppClientToServerConnectionInternal connectionInternal)
public final WebSocketRemoteConnectionEndpoint getEndpoint()
protected final void onIncomingWebSocketElement(java.lang.String element)
public abstract org.jivesoftware.smack.SmackFuture<AbstractWebSocket,java.lang.Exception> getFuture()
public final void send(org.jivesoftware.smack.packet.TopLevelStreamElement element)
protected abstract void send(java.lang.String element)
public abstract void disconnect(int code,
java.lang.String message)
public abstract boolean isConnectionSecure()
public abstract javax.net.ssl.SSLSession getSSLSession()
public abstract boolean isConnected()