|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.app.HL7ServerTestHelper
public class HL7ServerTestHelper
Helper class used to send messages from a flat file to an ip and port. Messasges are sent using MLLP and ACK protocal
| Nested Class Summary | |
|---|---|
static class |
HL7ServerTestHelper.CommentFilterReader
Deprecated. TODO: this code is copied from HAPI ... |
| Constructor Summary | |
|---|---|
HL7ServerTestHelper(String host,
int port)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
closeSocket()
Deprecated. |
static String[] |
getHL7Messages(String theSource)
Deprecated. Given a string that contains HL7 messages, and possibly other junk, returns an array of the HL7 messages. |
static void |
main(String[] theArgs)
Deprecated. Main method for running the application example command lines args: -f UHN_PRO_DEV_PATIENTS.dat -h 142.224.178.152 -p 3999 |
void |
openSocket()
Deprecated. |
int |
process(InputStream theMsgInputStream)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HL7ServerTestHelper(String host,
int port)
| Method Detail |
|---|
public void openSocket()
throws IOException
IOExceptionpublic void closeSocket()
public int process(InputStream theMsgInputStream)
throws FileNotFoundException,
IOException
FileNotFoundException
IOExceptionpublic static String[] getHL7Messages(String theSource)
theSource - a string containing HL7 messages
public static void main(String[] theArgs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||