Package: io.vertx.groovy.ext.stomp

## [Groovy] Class Frames

- io.vertx.groovy.ext.stomp.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.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `Frames (Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static Map<String, Object>` | `createErrorFrame(String message, Map<String, String> headers, String body)`
    `static Map<String, Object>` | `createReceiptFrame(String receiptId, Map<String, String> headers)`
    `Object` | `getDelegate()`
    `static void` | `handleReceipt(Map<String, Object> frame = [:], StompServerConnection connection)`
    `static Map<String, Object>` | `ping()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### Frames(Object delegate)

  - ### Method Detail

    - #### static Map<String, Object> createErrorFrame(String message, Map<String, String> headers, String body)

    - #### static Map<String, Object> createReceiptFrame(String receiptId, Map<String, String> headers)

    - #### Object getDelegate()

    - #### static void handleReceipt(Map<String, Object> frame = [:], StompServerConnection connection)

    - #### static Map<String, Object> ping()