Package io.vertx.reactivex.ext.stomp
Class Frames
- java.lang.Object
-
- io.vertx.reactivex.ext.stomp.Frames
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class Frames extends Object implements io.vertx.lang.rx.RxDelegate
Utility methods to build commonFrames. It defines a non-STOMP frame (PING) that is used for heartbeats. When such frame is written on the wire it is just the0byte. This class is thread-safe.NOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<Frames>__TYPE_ARGstatic FramePING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FramecreateErrorFrame(String message, Map<String,String> headers, String body)static FramecreateReceiptFrame(String receiptId, Map<String,String> headers)booleanequals(Object o)FramesgetDelegate()static voidhandleReceipt(Frame frame, StompServerConnection connection)inthashCode()static FramesnewInstance(Frames arg)static Frameping()StringtoString()
-
-
-
Method Detail
-
getDelegate
public Frames getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
createErrorFrame
public static Frame createErrorFrame(String message, Map<String,String> headers, String body)
-
createReceiptFrame
public static Frame createReceiptFrame(String receiptId, Map<String,String> headers)
-
handleReceipt
public static void handleReceipt(Frame frame, StompServerConnection connection)
-
ping
public static Frame ping()
-
-