Package org.serviceconnector.net.req

Examples of org.serviceconnector.net.req.Requester.destroy()


      // set up a new requester to make the SAS - only 1 connection is allowed
      Requester sasRequester = new Requester(this.sasRemoteNodeConfiguration);
      try {
        this.serverAbortSessionWithExtraRequester(sasRequester, abortMessage, callback, oti);
      } catch (ConnectionPoolBusyException e) {
        sasRequester.destroy();
        LOGGER.warn("ConnectionPoolBusyException in aborting session wait mec over special connection. " + e.toString());
        if (this.service.getType() == ServiceType.SESSION_SERVICE) {
          this.abortSessionsAndDestroy("Session abort over a new connection failed");
        }
        return;
View Full Code Here


        if (this.service.getType() == ServiceType.SESSION_SERVICE) {
          this.abortSessionsAndDestroy("Session abort over a new connection failed");
        }
        return;
      }
      sasRequester.destroy();
      // validate reply of server
      SCMPMessage reply = callback.getMessageSync(oti);
      if (reply.isFault()) {
        LOGGER.warn("Fault in aborting session wait mec over special connection");
        // error in server abort session - destroy server
View Full Code Here

          TestUtil.checkReply(cbk.getMessageSync(1000));

          SCMPDetachCall detachCall = new SCMPDetachCall(req);
          detachCall.invoke(cbk, 1000);
          TestUtil.checkReply(cbk.getMessageSync(1000));
          req.destroy();
        } catch (Exception e) {
          Assert.fail("Connection to NIC : " + inetAddress.getHostAddress() + " failed!");
        }
      }
    }
View Full Code Here

      // set up a new requester to make the SAS - only 1 connection is allowed
      Requester sasRequester = new Requester(this.sasRemoteNodeConfiguration);
      try {
        this.serverAbortSessionWithExtraRequester(sasRequester, abortMessage, callback, oti);
      } catch (ConnectionPoolBusyException e) {
        sasRequester.destroy();
        LOGGER.warn("ConnectionPoolBusyException in aborting session wait mec over special connection. " + e.toString());
        if (this.service.getType() == ServiceType.SESSION_SERVICE) {
          this.abortSessionsAndDestroy("Session abort over a new connection failed");
        }
        return;
View Full Code Here

        if (this.service.getType() == ServiceType.SESSION_SERVICE) {
          this.abortSessionsAndDestroy("Session abort over a new connection failed");
        }
        return;
      }
      sasRequester.destroy();
      // validate reply of server
      SCMPMessage reply = callback.getMessageSync(oti);
      if (reply.isFault()) {
        LOGGER.warn("Fault in aborting session wait mec over special connection");
        // error in server abort session - destroy server
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.