public final class WebSocketClientConnection extends WebSocketConnection
A WebSocket connection initiated by a client.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUsingAcknowledgements()
Indicates whether this connection uses acknowledgements, e.g. by means of stream management or BOSH acks.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
send(StreamElement streamElement)
Sends an element to the peer entity.
|
closeFuture, flush, getRemoteAddress, isSecure, open, toString, writeclose, closeAsync, closeAsync, getConfiguration, getStreamIdpublic final java.util.concurrent.CompletableFuture<java.lang.Void> send(StreamElement streamElement)
Connectionsend in interface Connectionsend in class WebSocketConnectionstreamElement - The element.public final boolean isUsingAcknowledgements()
ConnectionIndicates whether this connection uses acknowledgements, e.g. by means of stream management or BOSH acks.
isUsingAcknowledgements in interface ConnectionisUsingAcknowledgements in class AbstractConnectionCopyright © 2014–2019 XMPP.rocks. All rights reserved.