Package io.vertx.ext.stomp
Class DefaultCommitHandler
- java.lang.Object
-
- io.vertx.ext.stomp.DefaultCommitHandler
-
- All Implemented Interfaces:
Handler<ServerFrame>
public class DefaultCommitHandler extends Object implements Handler<ServerFrame>
STOMP compliant actions executed when receiving aCOMMITframe. All frames that are part of the transactions are processed (ACK/NACKandSENDframes). If theCOMMITframe defines areceipt, theRECEIPTframe is sent once all frames have been replayed. This handler is thread safe.- Author:
- Clement Escoffier
-
-
Constructor Summary
Constructors Constructor Description DefaultCommitHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(ServerFrame serverFrame)Something has happened, so handle it.
-
-
-
Method Detail
-
handle
public void handle(ServerFrame serverFrame)
Description copied from interface:HandlerSomething has happened, so handle it.- Specified by:
handlein interfaceHandler<ServerFrame>- Parameters:
serverFrame- the event to handle
-
-