Examples of abortSessionsAndDestroy()


Examples of org.serviceconnector.server.StatefulServer.abortSessionsAndDestroy()

    // looks up server & validate server is registered
    StatefulServer server = this.getStatefulServerByName(serverKey);
    // deregister server from service
    server.getService().removeServer(server);

    server.abortSessionsAndDestroy("deregister of server");
    this.serverRegistry.removeServer(serverKey);

    SCMPMessage scmpReply = new SCMPMessage();
    scmpReply.setIsReply(true);
    scmpReply.setMessageType(getKey());
View Full Code Here

Examples of org.serviceconnector.server.StatefulServer.abortSessionsAndDestroy()

    // looks up server & validate server is registered
    StatefulServer server = this.getStatefulServerByName(serverKey);
    // deregister server from service
    server.getService().removeServer(server);

    server.abortSessionsAndDestroy("deregister of server");
    this.serverRegistry.removeServer(serverKey);
   
    // SCMP Version request
    SCMPMessage scmpReply = new SCMPMessage(message.getSCMPVersion());
    scmpReply.setIsReply(true);
View Full Code Here

Examples of org.serviceconnector.server.StatefulServer.abortSessionsAndDestroy()

          if ((server instanceof StatefulServer) == false) {
            continue;
          }
          LOGGER.debug("clean up dead server with wild key " + wildKey);
          StatefulServer statefulServer = (StatefulServer) server;
          statefulServer.abortSessionsAndDestroy("clean up dead server");
        }
      } catch (Exception e) {
        LOGGER.error("cleaning up server=" + key + "throws exception", e);
        continue;
      }
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.