Package io.vertx.ext.stomp
Interface Frames
-
public interface Frames
Utility methods to build commonFrame
s. It defines a non-STOMP frame (PING
) that is used for heartbeats. When such frame is written on the wire it is just the0
byte. This class is thread-safe.- Author:
- Clement Escoffier
-
-
Method Summary
Static Methods Modifier and Type Method Description static Frame
createErrorFrame(String message, Map<String,String> headers, String body)
static Frame
createInvalidFrameErrorFrame(io.vertx.ext.stomp.impl.FrameException exception)
static Frame
createReceiptFrame(String receiptId, Map<String,String> headers)
static void
handleReceipt(Frame frame, StompServerConnection connection)
static Frame
ping()
-
-
-
Field Detail
-
PING
static final Frame PING
-
-
Method Detail
-
createErrorFrame
static Frame createErrorFrame(String message, Map<String,String> headers, String body)
-
createInvalidFrameErrorFrame
static Frame createInvalidFrameErrorFrame(io.vertx.ext.stomp.impl.FrameException exception)
-
handleReceipt
static void handleReceipt(Frame frame, StompServerConnection connection)
-
ping
static Frame ping()
-
-