Package org.serviceconnector.call

Examples of org.serviceconnector.call.SCMPPublishCall.invoke()


      publishCall.setMask(publishMessage.getMask());
      publishCall.setPartSize(publishMessage.getPartSize());
      publishCall.setMessageInfo(publishMessage.getMessageInfo());
      SCServerCallback callback = new SCServerCallback(true);
      try {
        publishCall.invoke(callback, operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
      } catch (Exception e) {
        throw new SCServiceException("Publish failed. ", e);
      }
      SCMPMessage message = callback.getMessageSync(operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
      if (message.isFault()) {
View Full Code Here


      publishCall.setMask(publishMessage.getMask());
      publishCall.setPartSize(publishMessage.getPartSize());
      publishCall.setMessageInfo(publishMessage.getMessageInfo());
      SCServerCallback callback = new SCServerCallback(true);
      try {
        publishCall.invoke(callback, operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
      } catch (Exception e) {
        throw new SCServiceException("Publish failed. ", e);
      }
      SCMPMessage message = callback.getMessageSync(operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
      if (message.isFault()) {
View Full Code Here

      publishCall.setMessageInfo(publishMessage.getMessageInfo());
      publishCall.setCacheMethod(publishMessage.getCachingMethod().getValue());
      publishCall.setCacheId(publishMessage.getCacheId());
      SCServerCallback callback = new SCServerCallback(true);
      try {
        publishCall.invoke(callback, operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
      } catch (Exception e) {
        throw new SCServiceException("Publish failed. ", e);
      }
      SCMPMessage message = callback.getMessageSync(operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
      if (message.isFault()) {
View Full Code Here

      publishCall.setMask(publishMessage.getMask());
      publishCall.setPartSize(publishMessage.getPartSize());
      publishCall.setMessageInfo(publishMessage.getMessageInfo());
      SCServerCallback callback = new SCServerCallback(true);
      try {
        publishCall.invoke(callback, operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
      } catch (Exception e) {
        throw new SCServiceException("Publish failed. ", e);
      }
      SCMPMessage message = callback.getMessageSync(operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
      if (message.isFault()) {
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.