From: Christopher S. <cs...@mi...> - 2017-04-20 20:17:16
|
What you're describing is a Server not a Client. What you probably want is HL7Service, by using HapiContext.newServer() For example usage see http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html -- Christopher Speck > On Apr 20, 2017, at 3:56 PM, Lucila Armentano <arm...@gm...> wrote: > > Hello, > I need to create a TCP Client for connecting to a server that automatically sends Messages (ORU). > I couldn't do this by using de newClient() method of HapiContext, because it only receives messages after sending one. > > Is it possibly to create a client with a "Receiver" or some object that stablish a client connection and waits a message from the server? > > Thanks a lot > > > Lucila > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel |