Package com.opengamma.livedata.server

Examples of com.opengamma.livedata.server.MockLiveDataServer


  }

  @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);
View Full Code Here


    Map<String, FudgeMsg> uniqueId2TestMsg = new HashMap<String, FudgeMsg>();
    uniqueId2TestMsg.put(TEST_LIVE_DATA_SPEC.getIdentifier(TEST_IDENTIFICATION_SCHEME), testMsg1);
    uniqueId2TestMsg.put(TEST_ID_1, testMsg1);
    uniqueId2TestMsg.put(TEST_ID_2, testMsg2);
   
    _server = new MockLiveDataServer(TEST_IDENTIFICATION_SCHEME, uniqueId2TestMsg, _cacheManager);
    _client = LiveDataClientTestUtils.getInMemoryConduitClient(_server);
  }
View Full Code Here

TOP

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

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.