Package com.opengamma.livedata.server

Examples of com.opengamma.livedata.server.MockDistributionSpecificationResolver


  @BeforeMethod
  public void setUp() {
    _domainB = ExternalScheme.of("B");
    _serverB = new MockLiveDataServer(_domainB, _cacheManager);
    _serverB.setDistributionSpecificationResolver(new MockDistributionSpecificationResolver(_domainB));
    setEntitlementChecker(_serverB);
    _serverB.connect();
   
    _domainC = ExternalScheme.of("C");
    _serverC = new MockLiveDataServer(_domainC, _cacheManager);
    _serverC.setDistributionSpecificationResolver(new MockDistributionSpecificationResolver(_domainC));
    setEntitlementChecker(_serverC);
    _serverC.connect();
   
    _combiningServer = new PriorityResolvingCombiningLiveDataServer(Lists.newArrayList(_serverB, _serverC), _cacheManager);
    _combiningServer.start();
View Full Code Here

TOP

Related Classes of com.opengamma.livedata.server.MockDistributionSpecificationResolver

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.