Package ca.uhn.hl7v2.protocol

Examples of ca.uhn.hl7v2.protocol.Processor.stop()


    @Override
    protected void stopEndpoint(HL7Endpoint endpoint) {
        SimpleServer server = serverTable.remove(endpoint);
        if (server != null) {
            server.stop();
        }

        log.info("Stopped HL7 endpoint on port: " + endpoint.getPort());
    }
}
View Full Code Here


         * MSH|^~\&|||||20070218200627.515-0500||ACK|54|P|2.2 MSA|AA|12345
         */

        // Close the connection and server
        connectionHub.discard(connection);
        server.stop();

    }

}
View Full Code Here

            public void run() {
                while (server.isRunning()) {
                    try {
                        Processor p = server.accept(theAddress);
                        if (!myIsRunning) {
                          p.stop();
                        } else {
                            server.newProcessor(p);
                            Thread.sleep(1);
                        }
                    } catch (TransportException 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.