Class ControlProtocolEvents

java.lang.Object
io.aeron.command.ControlProtocolEvents

public class ControlProtocolEvents extends Object
List of events used in the control protocol between client and the media driver.
  • Field Details

    • CONTROL_PROTOCOL_MAJOR_VERSION

      public static final int CONTROL_PROTOCOL_MAJOR_VERSION
      Major version of the control protocol between client and the media driver.
      Since:
      1.49.0
      See Also:
    • CONTROL_PROTOCOL_MINOR_VERSION

      public static final int CONTROL_PROTOCOL_MINOR_VERSION
      Minor version of the control protocol between client and the media driver.
      Since:
      1.49.0
      See Also:
    • CONTROL_PROTOCOL_PATCH_VERSION

      public static final int CONTROL_PROTOCOL_PATCH_VERSION
      Patch version of the control protocol between client and the media driver.
      Since:
      1.49.0
      See Also:
    • CONTROL_PROTOCOL_SEMANTIC_VERSION

      public static final int CONTROL_PROTOCOL_SEMANTIC_VERSION
      Semantic version of the control protocol between clients and media driver.
      Since:
      1.49.0
    • ADD_PUBLICATION

      public static final int ADD_PUBLICATION
      Add a Publication.
      See Also:
    • REMOVE_PUBLICATION

      public static final int REMOVE_PUBLICATION
      Remove a Publication.
      See Also:
    • ADD_EXCLUSIVE_PUBLICATION

      public static final int ADD_EXCLUSIVE_PUBLICATION
      Add an Exclusive Publication.
      See Also:
    • ADD_SUBSCRIPTION

      public static final int ADD_SUBSCRIPTION
      Add a Subscriber.
      See Also:
    • REMOVE_SUBSCRIPTION

      public static final int REMOVE_SUBSCRIPTION
      Remove a Subscriber.
      See Also:
    • CLIENT_KEEPALIVE

      public static final int CLIENT_KEEPALIVE
      Keepalive from Client.
      See Also:
    • ADD_DESTINATION

      public static final int ADD_DESTINATION
      Add Destination to an existing Publication.
      See Also:
    • REMOVE_DESTINATION

      public static final int REMOVE_DESTINATION
      Remove Destination from an existing Publication.
      See Also:
    • ADD_COUNTER

      public static final int ADD_COUNTER
      Add a Counter to the counters-manager.
      See Also:
    • REMOVE_COUNTER

      public static final int REMOVE_COUNTER
      Remove a Counter from the counters-manager.
      See Also:
    • CLIENT_CLOSE

      public static final int CLIENT_CLOSE
      Close indication from Client.
      See Also:
    • ADD_RCV_DESTINATION

      public static final int ADD_RCV_DESTINATION
      Add Destination for existing Subscription.
      See Also:
    • REMOVE_RCV_DESTINATION

      public static final int REMOVE_RCV_DESTINATION
      Remove Destination for existing Subscription.
      See Also:
    • TERMINATE_DRIVER

      public static final int TERMINATE_DRIVER
      Request the driver to terminate.
      See Also:
    • ADD_STATIC_COUNTER

      public static final int ADD_STATIC_COUNTER
      Add or return a static Counter, i.e. the Counter that cannot be deleted and whose lifecycle is decoupled from the Aeron instance that created it.
      Since:
      1.45.0
      See Also:
    • REJECT_IMAGE

      public static final int REJECT_IMAGE
      Invalidate an image.
      Since:
      1.47.0
      See Also:
    • REMOVE_DESTINATION_BY_ID

      public static final int REMOVE_DESTINATION_BY_ID
      Remove a destination by registration id.
      Since:
      1.47.0
      See Also:
    • GET_NEXT_AVAILABLE_SESSION_ID

      public static final int GET_NEXT_AVAILABLE_SESSION_ID
      Get next available session id from the media driver.
      Since:
      1.49.0
      See Also:
    • ON_ERROR

      public static final int ON_ERROR
      Error Response as a result of attempting to process a client command operation.
      See Also:
    • ON_AVAILABLE_IMAGE

      public static final int ON_AVAILABLE_IMAGE
      Subscribed Image buffers are available notification.
      See Also:
    • ON_PUBLICATION_READY

      public static final int ON_PUBLICATION_READY
      New Publication buffers are ready notification.
      See Also:
    • ON_OPERATION_SUCCESS

      public static final int ON_OPERATION_SUCCESS
      Operation has succeeded.
      See Also:
    • ON_UNAVAILABLE_IMAGE

      public static final int ON_UNAVAILABLE_IMAGE
      Inform client of timeout and removal of an inactive Image.
      See Also:
    • ON_EXCLUSIVE_PUBLICATION_READY

      public static final int ON_EXCLUSIVE_PUBLICATION_READY
      New Exclusive Publication buffers are ready notification.
      See Also:
    • ON_SUBSCRIPTION_READY

      public static final int ON_SUBSCRIPTION_READY
      New Subscription is ready notification.
      See Also:
    • ON_COUNTER_READY

      public static final int ON_COUNTER_READY
      New counter is ready notification.
      See Also:
    • ON_UNAVAILABLE_COUNTER

      public static final int ON_UNAVAILABLE_COUNTER
      Inform clients of removal of counter.
      See Also:
    • ON_CLIENT_TIMEOUT

      public static final int ON_CLIENT_TIMEOUT
      Inform clients of client timeout.
      See Also:
    • ON_STATIC_COUNTER

      public static final int ON_STATIC_COUNTER
      A response to ADD_STATIC_COUNTER command.
      Since:
      1.45.0
      See Also:
    • ON_PUBLICATION_ERROR

      public static final int ON_PUBLICATION_ERROR
      Inform clients of error frame received by publication.
      Since:
      1.47.0
      See Also:
    • ON_NEXT_AVAILABLE_SESSION_ID

      public static final int ON_NEXT_AVAILABLE_SESSION_ID
      A response to the GET_NEXT_AVAILABLE_SESSION_ID command.
      Since:
      1.49.0
      See Also:
  • Constructor Details

    • ControlProtocolEvents

      public ControlProtocolEvents()