Class Frames

java.lang.Object
io.vertx.mutiny.ext.stomp.Frames
All Implemented Interfaces:
MutinyDelegate

public class Frames extends Object implements MutinyDelegate
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 Details

    • __TYPE_ARG

      public static final TypeArg<Frames> __TYPE_ARG
    • PING

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

    • Frames

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

      public Frames(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.stomp.Frames getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • 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)