Class Frames


  • public class Frames
    extends Object
    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.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Field Detail

      • PING

        public static final io.vertx.ext.stomp.Frame PING
    • Constructor Detail

      • Frames

        public Frames​(io.vertx.ext.stomp.Frames delegate)
      • Frames

        public Frames​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.stomp.Frames getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • createErrorFrame

        public static io.vertx.ext.stomp.Frame createErrorFrame​(String message,
                                                                Map<String,​String> headers,
                                                                String body)
      • createReceiptFrame

        public static io.vertx.ext.stomp.Frame createReceiptFrame​(String receiptId,
                                                                  Map<String,​String> headers)
      • handleReceipt

        public static void handleReceipt​(io.vertx.ext.stomp.Frame frame,
                                         StompServerConnection connection)
      • ping

        public static io.vertx.ext.stomp.Frame ping()
      • newInstance

        public static Frames newInstance​(io.vertx.ext.stomp.Frames arg)