org.openhealthexchange.openpixpdq.ihe.impl_v2.hl7
Class HL7Server

java.lang.Object
  extended by ca.uhn.hl7v2.app.HL7Service
      extended by org.openhealthexchange.openpixpdq.ihe.impl_v2.hl7.HL7Server
All Implemented Interfaces:
java.lang.Runnable

public class HL7Server
extends ca.uhn.hl7v2.app.HL7Service

The class extends HAPI HL7Service interface. It is the HL7 server engine to start and stop an HL7 service.

Version:
1.0, Mar 2, 2007
Author:
Wenzhi Li

Field Summary
 
Fields inherited from class ca.uhn.hl7v2.app.HL7Service
llp, parser
 
Constructor Summary
HL7Server(com.misyshealthcare.connect.net.IConnectionDescription conn, ca.uhn.hl7v2.llp.LowerLayerProtocol llp, ca.uhn.hl7v2.parser.Parser parser)
          Constructor.
 
Method Summary
 void run()
          Loop that waits for a connection and starts a ConnectionManager when it gets one.
 
Methods inherited from class ca.uhn.hl7v2.app.HL7Service
getRemoteConnection, getRemoteConnections, keepRunning, loadApplicationsFromFile, newConnection, registerApplication, registerConnectionListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HL7Server

public HL7Server(com.misyshealthcare.connect.net.IConnectionDescription conn,
                 ca.uhn.hl7v2.llp.LowerLayerProtocol llp,
                 ca.uhn.hl7v2.parser.Parser parser)
Constructor. Creates a new instance of SimpleServer that listens on the given port.

Method Detail

run

public void run()
Loop that waits for a connection and starts a ConnectionManager when it gets one.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class ca.uhn.hl7v2.app.HL7Service