Package io.vertx.reactivex.ext.stomp
Class Frames
- java.lang.Object
-
- io.vertx.reactivex.ext.stomp.Frames
-
public class Frames extends Object
Utility methods to build commonFrame
s. It defines a non-STOMP frame (PING
) that is used for heartbeats. When such frame is written on the wire it is just the0
byte. This class is thread-safe.NOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<Frames>
__TYPE_ARG
static Frame
PING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Frame
createErrorFrame(String message, Map<String,String> headers, String body)
static Frame
createReceiptFrame(String receiptId, Map<String,String> headers)
boolean
equals(Object o)
Frames
getDelegate()
static void
handleReceipt(Frame frame, StompServerConnection connection)
int
hashCode()
static Frames
newInstance(Frames arg)
static Frame
ping()
String
toString()
-
-
-
Method Detail
-
getDelegate
public Frames getDelegate()
-
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()
-
-