Package com.bloomberglp.blpapi

Examples of com.bloomberglp.blpapi.Subscription


    Map<String, Object> returnValue = Maps.newHashMap();
   
    SubscriptionList sl = new SubscriptionList();
    for (String bbgUniqueId : bbgUniqueIds) {
      String securityDes = getBloombergSubscriptionPathPrefix() + bbgUniqueId;
      Subscription subscription = new Subscription(securityDes, BloombergDataUtils.STANDARD_FIELDS_LIST);
      sl.add(subscription);
      returnValue.put(bbgUniqueId, subscription);
    }
   
    try {
View Full Code Here


    }
   
    SubscriptionList sl = new SubscriptionList();
   
    for (Object subscriptionHandle : subscriptionHandles) {
      Subscription subscription = (Subscription) subscriptionHandle;
      sl.add(subscription);
    }
   
    try {
      _sessionProvider.getSession().unsubscribe(sl);
View Full Code Here

    }
    int counter = 0;
    for (String bloombergKey : bloombergKeys) {
      int index = counter % _bbgSessions;
      SubscriptionList subscriptions = _subscriptionsList.get(index);
      subscriptions.add(new Subscription(bloombergKey, BloombergDataUtils.STANDARD_FIELDS_LIST, _options,
          new CorrelationID(bloombergKey)));
      counter++;
    }
   
  }
View Full Code Here

TOP

Related Classes of com.bloomberglp.blpapi.Subscription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.