io.vertx.ext.stomp

## Interface Frames

-     public interface Frames

  Utility methods to build common `Frame`s. 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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Frame` | `PING`

  - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Frame` | `createErrorFrame(String message, Map<String,String> headers, String body)`
    `static Frame` | `createInvalidFrameErrorFrame(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(FrameException exception)

    - #### createReceiptFrame

          static Frame createReceiptFrame(String receiptId,
                                          Map<String,String> headers)

    - #### handleReceipt

          static void handleReceipt(Frame frame,
                                    StompServerConnection connection)

    - #### ping

          static Frame ping()

Copyright © 2017. All rights reserved.