Examples of SCSubscribeMessage


Examples of org.serviceconnector.api.SCSubscribeMessage

   * Expectation: passes
   */
  @Test
  public void t09_cc_publishRemoveNothingInCache() throws Exception {
    // 1: start cache guardian - publish 1 remove
    SCSubscribeMessage subMsg = new SCSubscribeMessage();
    subMsg.setMask(TestConstants.mask);
    subMsg.setSessionInfo(TestConstants.publish1RemoveMsgCmd);
    subMsg.setData("700");
    guardianClient.startCacheGuardian(TestConstants.cacheGuardian1, subMsg, cacheGuardianCbk);

    // 2: verify callback retrieval - 1 remove within 10sec
    cacheGuardianCbk.waitForRemoveMessage(1, 10);

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.