Class DefaultNackHandler
java.lang.Object
io.vertx.ext.stomp.DefaultNackHandler
- All Implemented Interfaces:
Handler<ServerFrame>
STOMP compliant actions executed when receiving a
calls.
If the
NACK sf.frame(). It removes the acknowledges messages
from the list of messages waiting for acknowledgment and trigger an
invalid reference
StompServerHandler#onNack(Subscription, List)
NACK frame specifies a transaction id, the acknowledgment is delayed until the transaction commit.
This handler is thread safe.- Author:
- Clement Escoffier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ServerFrame sf) Something has happened, so handle it.
-
Constructor Details
-
DefaultNackHandler
public DefaultNackHandler()
-
-
Method Details
-
handle
Description copied from interface:HandlerSomething has happened, so handle it.- Specified by:
handlein interfaceHandler<ServerFrame>- Parameters:
sf- the event to handle
-