Class Session.SubscriptionStatus

java.lang.Object
com.bloomberglp.blpapi.Session.SubscriptionStatus
Enclosing class:
Session

public static final class Session.SubscriptionStatus extends Object
SubscriptionStatus lists the possible statuses a Subscription may be in.
  • Field Details

    • SUBSCRIBING

      public static final Session.SubscriptionStatus SUBSCRIBING
      Indicates a subscription request has been sent and the response is pending
    • WAITING_FOR_MESSAGES

      public static final Session.SubscriptionStatus WAITING_FOR_MESSAGES
      Indicates that the subscription has successfully completed. But no messages have been received for the subscribed instrument
    • RECEIVING_MESSAGES

      public static final Session.SubscriptionStatus RECEIVING_MESSAGES
      Indicates that the subscription has successfully completed and messages are being received for the subscribed instrument
    • UNSUBSCRIBED

      public static final Session.SubscriptionStatus UNSUBSCRIBED
      Indicates that this instrument is unsubscribed and no messages will be received for it.
  • Method Details

    • intValue

      public int intValue()
      Integer value of the subscription status to be used in Switch constructs
      Returns:
      integer value of the subscription status
    • toString

      public String toString()
      Overrides:
      toString in class Object