public class DefaultNackHandler extends Object implements Handler<ServerFrame>
NACK
sf.frame(). It removes the acknowledges messages
from the list of messages waiting for acknowledgment and trigger an
StompServerHandler#onNack(Subscription, List)
calls.
If the NACK
frame specifies a transaction id, the acknowledgment is delayed until the transaction commit.
This handler is thread safe.Constructor and Description |
---|
DefaultNackHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(ServerFrame sf)
Something has happened, so handle it.
|
public void handle(ServerFrame sf)
Handler
handle
in interface Handler<ServerFrame>
sf
- the event to handleCopyright © 2022 Eclipse. All rights reserved.