public interface IUndertowWebsocketEndpointWriter
| Modifier and Type | Method and Description |
|---|---|
void |
sendClosingConnection(int closingCode,
String closingReason,
Set<String> peerIds,
IClosedEventSentCallback callback)
Sends a "closing connection" message to specified peers.
|
void |
sendMessage(Set<String> peerIds,
byte[] bytes,
IWebsocketPeersWriteCallback callback)
Sends a byte array message to specific
peers.
|
void |
sendMessage(Set<String> peerIds,
String message,
IWebsocketPeersWriteCallback callback)
Sends a String message to specific
peers.
|
void |
sendPings(IWebsocketPeersWriteCallback callback)
Sends a
ping message to all peers. |
void sendPings(IWebsocketPeersWriteCallback callback)
ping message to all peers.void sendMessage(Set<String> peerIds, String message, IWebsocketPeersWriteCallback callback)
void sendMessage(Set<String> peerIds, byte[] bytes, IWebsocketPeersWriteCallback callback)
PeersClosedWriteException - if some peers connections were
found to be closed when trying to write.void sendClosingConnection(int closingCode,
String closingReason,
Set<String> peerIds,
IClosedEventSentCallback callback)
Copyright © 2016. All rights reserved.