com.bloomberglp.blpapi
Class Session.SubscriptionStatus

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

public static final class Session.SubscriptionStatus
extends java.lang.Object

SubscriptionStatus lists the possible statuses a Subscription may be in.

Author:
Siva Somu (ssomu)

Nested Class Summary
static class Session.SubscriptionStatus.Constants
          Integer constants to facilitate switch constructs on Session.SubscriptionStatus Enumeration.
 
Field Summary
static Session.SubscriptionStatus RECEIVING_MESSAGES
          Indicates that the subscription has successfully completed and messages are being received for the subscribed instrument
static Session.SubscriptionStatus SUBSCRIBING
          Indicates a subscription request has been sent and the response is pending
static Session.SubscriptionStatus UNSUBSCRIBED
          Indicates that this instrument is unsubscribed and no messages will be received for it.
static Session.SubscriptionStatus WAITING_FOR_MESSAGES
          Indicates that the subscription has successfully completed.
 
Method Summary
 int intValue()
          Integer value of the subscription status to be used in Switch constructs
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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 Detail

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 java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2015 Bloomberg L.P.. All Rights Reserved.