Examples of abortSession()


Examples of org.serviceconnector.server.IServer.abortSession()

       * 2. abort session on backend server<br />
       */
      SessionRegistry.this.removeSession(session);
      IServer server = session.getServer();
      // aborts session on server
      server.abortSession(session, "session timed out in session registry");
      SessionLogger.logTimeoutSession(session);
    }

    /** {@inheritDoc} */
    @Override
 
View Full Code Here

Examples of org.serviceconnector.server.IServer.abortSession()

       * 2. abort session on backend server<br />
       */
      SessionRegistry.this.removeSession(session);
      IServer server = session.getServer();
      // aborts session on server
      server.abortSession(session, "session timed out in session registry");
      SessionLogger.logTimeoutSession(session);
    }

    /** {@inheritDoc} */
    @Override
 
View Full Code Here

Examples of org.serviceconnector.server.IStatefulServer.abortSession()

    reply.setMessageType(SCMPMsgType.CLN_UNSUBSCRIBE);
    this.response.setSCMP(reply);
    this.responderCallback.responseCallback(request, response);
    if (reply.isFault()) {
      // delete subscription failed abort!
      server.abortSession(subscription, "unsubscribe failed, fault reply received in callback");
    }
  }

  /** {@inheritDoc} */
  @Override
 
View Full Code Here

Examples of org.serviceconnector.server.IStatefulServer.abortSession()

    fault.setServiceName(serviceName);
    fault.setMessageType(SCMPMsgType.CLN_UNSUBSCRIBE);
    this.response.setSCMP(fault);
    this.responderCallback.responseCallback(request, response);
    // delete subscription failed abort!
    server.abortSession(subscription, "unsubscribe failed, exception received in callback");
  }

  /** {@inheritDoc} */
  @Override
  public Subscription getSubscription() {
View Full Code Here

Examples of org.serviceconnector.server.IStatefulServer.abortSession()

    reply.setMessageType(SCMPMsgType.CSC_UNSUBSCRIBE);
    this.response.setSCMP(reply);
    this.responderCallback.responseCallback(request, response);
    if (reply.isFault()) {
      // delete subscription failed abort!
      server.abortSession(this.cascSubscription, "unsubscribe failed, fault reply received in callback");
    }
  }

  /**
   * Receive.
 
View Full Code Here

Examples of org.serviceconnector.server.IStatefulServer.abortSession()

    fault.setServiceName(serviceName);
    fault.setMessageType(SCMPMsgType.CSC_UNSUBSCRIBE);
    this.response.setSCMP(fault);
    this.responderCallback.responseCallback(request, response);
    // delete subscription failed abort!
    server.abortSession(this.cascSubscription, "unsubscribe failed, exception received in callback");
  }
}
View Full Code Here

Examples of org.serviceconnector.server.IStatefulServer.abortSession()

       * 2. unsubscribe (discard messages for client) subscription in queue<br />
       * 3. abort subscription on backend server<br />
       */
      SubscriptionRegistry.this.removeSubscription(subscription);
      IStatefulServer server = subscription.getServer();
      server.abortSession(subscription, "subscription timed out in registry");
      SubscriptionLogger.logTimeoutSubscription(subscription);
    }

    /** {@inheritDoc} */
    @Override
 
View Full Code Here

Examples of org.serviceconnector.server.IStatefulServer.abortSession()

    reply.setMessageType(SCMPMsgType.CSC_UNSUBSCRIBE);
    this.response.setSCMP(reply);
    this.responderCallback.responseCallback(request, response);
    if (reply.isFault()) {
      // delete subscription failed abort!
      server.abortSession(this.cascSubscription, "unsubscribe failed, fault reply received in callback");
    }
  }

  /**
   * Receive.
 
View Full Code Here

Examples of org.serviceconnector.server.IStatefulServer.abortSession()

    fault.setServiceName(serviceName);
    fault.setMessageType(SCMPMsgType.CSC_UNSUBSCRIBE);
    this.response.setSCMP(fault);
    this.responderCallback.responseCallback(request, response);
    // delete subscription failed abort!
    server.abortSession(this.cascSubscription, "unsubscribe failed, exception received in callback");
  }
}
View Full Code Here

Examples of org.serviceconnector.server.IStatefulServer.abortSession()

    reply.setMessageType(SCMPMsgType.CLN_UNSUBSCRIBE);
    this.response.setSCMP(reply);
    this.responderCallback.responseCallback(request, response);
    if (reply.isFault()) {
      // delete subscription failed abort!
      server.abortSession(subscription, "unsubscribe failed, fault reply received in callback");
    }
  }

  /** {@inheritDoc} */
  @Override
 
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.