Hi Yu, HL7Server could probably use a convenience method to deduce this, but you can determine whether there are any active connections to it by calling: server.getProcessors().length > 0
Cheers, James On Mon, Jun 29, 2009 at 11:25 PM, Yu Gu <[email protected]> wrote: > > Hi, everyone. Does HAPI provide any method to know the connection status of > ca.uhn.hl7v2.protocol.impl.HL7Server ? > I mean, if the client has been connected to HL7Server,the status of the > HL7Server become "Connected". > I use Message Workbeach these days,it can provide the status of the server. > So I want to know whether the HL7Server of the HAPI can also do that. > > Thanks in advance! > http://www.nabble.com/file/p24265064/messaging%2Bworkbench.jpg > > ----- > Just Do It ! > -- > View this message in context: > http://www.nabble.com/How-can-i-know-the-status-of-the-HL7Server-%28%22Not-Connected-%22-or-%22Connected%22%29--tp24265064p24265064.html > Sent from the hl7api-devel mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Hl7api-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hl7api-devel >
------------------------------------------------------------------------------
_______________________________________________ Hl7api-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hl7api-devel

