Package org.serviceconnector.service

Examples of org.serviceconnector.service.SubscriptionMask


  private void changeSubscriptionCascadedSCWithActiveCascadedClient(CascadedClient cascClient, SCMPMessage msgToForward,
      ISCMPMessageCallback callback, int oti) throws Exception {
    // set cascaded subscriptonId and cascadedMask
    msgToForward.setHeader(SCMPHeaderAttributeKey.CASCADED_SUBSCRIPTION_ID, cascClient.getSubscriptionId());
    String clientMaskString = msgToForward.getHeader(SCMPHeaderAttributeKey.MASK);
    SubscriptionMask cascClientMask = cascClient.getSubscriptionMask();
    String cascadedMask = SubscriptionMask.masking(cascClientMask, clientMaskString);
    msgToForward.setHeader(SCMPHeaderAttributeKey.CASCADED_MASK, cascadedMask);
    SCMPCscChangeSubscriptionCall cscChangeSubscriptionCall = new SCMPCscChangeSubscriptionCall(this.requester, msgToForward);
    cscChangeSubscriptionCall.invoke(callback, oti);
  }
View Full Code Here

TOP

Related Classes of org.serviceconnector.service.SubscriptionMask

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.