|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bloomberglp.blpapi.SubscriptionIterator
public class SubscriptionIterator
The SubscriptionIterator can be used to iterate over all the active subscriptions for a Session.
However, with an asynchronous Session it is possible for the set of active
subscriptions to change whilst the SubscriptionIterator is being used. The
SubscriptionIterator is guaranteed to never return the same subscription
twice. However, the subscription the iterator points to may no longer be
active. In this case the result of Subscription.subscriptionStatus()
will be UNSUBSCRIBED
Method Summary | |
---|---|
boolean |
hasNext()
Return true if there are more Subscriptions available for iteration |
Subscription |
next()
Returns the next Subscription in the iteration |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean hasNext()
public Subscription next()
java.util.NoSuchElementException
- if the iteration has no more
Subscriptions
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |