interface Frames
Utility methods to build common Frames. It defines a non-STOMP frame (PING) that is used for heartbeats. When such frame is written on the wire it is just the 0 byte. This class is thread-safe.
Author
Clement Escoffier
static val PING: Frame |
open static fun createErrorFrame(message: String, headers: MutableMap<String, String>, body: String): Frame |
|
open static fun createInvalidFrameErrorFrame(exception: FrameException): Frame |
|
open static fun createReceiptFrame(receiptId: String, headers: MutableMap<String, String>): Frame |
|
open static fun handleReceipt(frame: Frame, connection: StompServerConnection): Unit |
|
open static fun ping(): Frame |