[HAPI-devel] Need help in building llp listener

2011-12-19 Thread Ram
Hello All, As i am not aware of most of the functionalities of the hapi core classes, i could not able understand on creating a simple llp listener. I had gone through the source codes of many classes, but i could not figure out how it is working. Can anyone guide me to create a simple LLP l

Re: [HAPI-devel] Need help in building llp listener

2011-12-19 Thread christian ohr
Hi, have a look at the example in http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html. The code until line 97 launches a MLLP Server that listens for incoming messages (port 1011 in the example), parses them and forwards ADT^A01 messages to an ExampleReceiverAppl