io.vertx.ext.stomp

## Class DefaultAckHandler

- java.lang.Object
- - io.vertx.ext.stomp.DefaultAckHandler

- All Implemented Interfaces:
    Handler<ServerFrame>

      public class DefaultAckHandler
      extends Object
      implements Handler<ServerFrame>

  STOMP compliant actions executed when receiving a `ACK` frame. It removes the acknowledges messages from the list of messages waiting for acknowledgment. If the `ACK` frame specifies a transaction id, the acknowledgment is delayed until the transaction commit.

  This handler is thread safe.
  Author:
    Clement Escoffier

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultAckHandler()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handle(ServerFrame serverFrame)` Something has happened, so handle it.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultAckHandler

          public DefaultAckHandler()

  - ### Method Detail

    - #### handle

          public void handle(ServerFrame serverFrame)

      Description copied from interface: `Handler`
      Something has happened, so handle it.
      Specified by:
        `handle` in interface `Handler<ServerFrame>`
      Parameters:
        `serverFrame` - the event to handle

Copyright © 2024 Eclipse. All rights reserved.