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 (java.lang.Object delegate)`

  - ### Methods Summary

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

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Constructor Detail

    - #### Frames(java.lang.Object delegate)

  - ### Method Detail

    - #### static java.util.Map<java.lang.String, java.lang.Object> createErrorFrame(java.lang.String message, java.util.Map<java.lang.String, java.lang.String> headers, java.lang.String body)

    - #### static java.util.Map<java.lang.String, java.lang.Object> createReceiptFrame(java.lang.String receiptId, java.util.Map<java.lang.String, java.lang.String> headers)

    - #### java.lang.Object getDelegate()

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

    - #### static java.util.Map<java.lang.String, java.lang.Object> ping()