Class SubscriptionReadyFlyweight

java.lang.Object
io.aeron.command.SubscriptionReadyFlyweight

public class SubscriptionReadyFlyweight extends Object
Message to denote that a Subscription has been successfully set up.
See Also:
  • Field Details

  • Constructor Details

    • SubscriptionReadyFlyweight

      public SubscriptionReadyFlyweight()
  • Method Details

    • wrap

      public final SubscriptionReadyFlyweight wrap(MutableDirectBuffer buffer, int offset)
      Wrap the buffer at a given offset for updates.
      Parameters:
      buffer - to wrap
      offset - at which the message begins.
      Returns:
      this for a fluent API.
    • correlationId

      public long correlationId()
      Get the correlation id field.
      Returns:
      correlation id field.
    • correlationId

      public SubscriptionReadyFlyweight correlationId(long correlationId)
      Set the correlation id field.
      Parameters:
      correlationId - field value.
      Returns:
      this for a fluent API.
    • channelStatusCounterId

      public int channelStatusCounterId()
      The channel status counter id.
      Returns:
      channel status counter id.
    • channelStatusCounterId

      public SubscriptionReadyFlyweight channelStatusCounterId(int counterId)
      Set channel status counter id field.
      Parameters:
      counterId - field value.
      Returns:
      this for a fluent API.