public class HL7ServerTestHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HL7ServerTestHelper.CommentFilterReader
Deprecated.
TODO: this code is copied from HAPI ...
|
| Constructor and Description |
|---|
HL7ServerTestHelper(String host,
int port)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public HL7ServerTestHelper(String host, int port)
public void openSocket() throws IOException
IOExceptionpublic void closeSocket()
public int process(InputStream theMsgInputStream) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic static String[] getHL7Messages(String theSource)
theSource - a string containing HL7 messagesCopyright © 2001-2012 University Health Network. All Rights Reserved.