Examples of HL7MessageListener


Examples of org.dcm4che3.net.hl7.HL7MessageListener

    }

    @Override
    public byte[] onMessage(HL7Application hl7App, Connection conn, Socket s,
            HL7Segment msh, byte[] msg, int off, int len, int mshlen) throws HL7Exception {
        HL7MessageListener listener = listeners.get(msh.getMessageType());
        if (listener == null) {
            listener = listeners.get("*");
            if (listener == null)
                return super.onMessage(hl7App, conn, s, msh, msg, off, len, mshlen);
        }
        return  listener.onMessage(hl7App, conn, s, msh, msg, off, len, mshlen);
    }
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.