Package org.serviceconnector.call

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


   *            the timeout milliseconds
   */
  public void createSession(SCMPMessage msgToForward, ISCMPMessageCallback callback, int timeoutMillis) {
    SCMPCscCreateSessionCall createSessionCall = new SCMPCscCreateSessionCall(this.requester, msgToForward);
    try {
      createSessionCall.invoke(callback, (int) (this.operationTimeoutMultiplier * timeoutMillis));
    } catch (Exception e) {
      // create session failed
      callback.receive(e);
    }
  }
View Full Code Here


   *            the timeout milliseconds
   */
  public void createSession(SCMPMessage msgToForward, ISCMPMessageCallback callback, int timeoutMillis) {
    SCMPCscCreateSessionCall createSessionCall = new SCMPCscCreateSessionCall(this.requester, msgToForward);
    try {
      createSessionCall.invoke(callback, (int) (this.operationTimeoutMultiplier * timeoutMillis));
    } catch (Exception e) {
      // create session failed
      callback.receive(e);
    }
  }
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.