Examples of CombiningBloombergLiveDataServer


Examples of com.opengamma.bbg.livedata.faketicks.CombiningBloombergLiveDataServer

   
    CacheManager cacheManager = EHCacheUtils.createCacheManager();
    FakeSubscriptionBloombergLiveDataServer fakeServer = new FakeSubscriptionBloombergLiveDataServer(underlying, ExternalSchemes.BLOOMBERG_BUID_WEAK, cacheManager);
    fakeServer.start();
   
    CombiningBloombergLiveDataServer combinedServer = new CombiningBloombergLiveDataServer(fakeServer, underlying, subscriptionSelector, cacheManager);
       
    combinedServer.start();
    return combinedServer;
  }
View Full Code Here

Examples of com.opengamma.bbg.livedata.faketicks.CombiningBloombergLiveDataServer

        ImmutableSet.of("SWAPTION VOLATILITY", "OPTION VOLATILITY"));
    FakeSubscriptionSelector selectorWeak = new BySchemeFakeSubscriptionSelector(
        ImmutableSet.of(ExternalSchemes.BLOOMBERG_BUID_WEAK, ExternalSchemes.BLOOMBERG_TICKER_WEAK));
    FakeSubscriptionSelector selector = new UnionFakeSubscriptionSelector(selectorVolatility, selectorWeak);

    CombiningBloombergLiveDataServer combinedServer = new CombiningBloombergLiveDataServer(fakeServer,
                                                                                           realServer,
                                                                                           selector,
                                                                                           getCacheManager());
    combinedServer.setDistributionSpecificationResolver(distSpecResolver);
    combinedServer.setEntitlementChecker(entitlementChecker);
    combinedServer.setMarketDataSenderFactory(senderFactory);
    repo.registerMBean(new LiveDataServerMBean(combinedServer));
    return combinedServer;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.