|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openhealthexchange.openpixpdq.ihe.impl_v2.hl7.HL7Channel
public class HL7Channel
This class represents a communication channel with an HL7 server.
| Constructor Summary | |
|---|---|
HL7Channel(com.misyshealthcare.connect.net.IConnectionDescription connection)
Creates a new HL7 communication channel to the server described in the connection description. |
|
| Method Summary | |
|---|---|
void |
close()
Closes any connections being held open by this channel |
boolean |
isOpen()
Sees if this channel is holding open any connections. |
ca.uhn.hl7v2.model.Message |
sendMessage(ca.uhn.hl7v2.model.Message message)
Sends an HL7 message over this channel to the server and return the response. |
ca.uhn.hl7v2.model.Message |
sendMessage(ca.uhn.hl7v2.model.Message message,
boolean keepOpen)
Sends an HL7 message over this channel to the server and return the response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HL7Channel(com.misyshealthcare.connect.net.IConnectionDescription connection)
connection - the connection description| Method Detail |
|---|
public ca.uhn.hl7v2.model.Message sendMessage(ca.uhn.hl7v2.model.Message message)
throws java.io.IOException
message - the HL7 message to be sent
java.io.IOException
public ca.uhn.hl7v2.model.Message sendMessage(ca.uhn.hl7v2.model.Message message,
boolean keepOpen)
throws java.io.IOException
message - the HL7 message to be sentkeepOpen - True if the connection used for this message should be kept open
java.io.IOException - When there is a problem communicating with the serverpublic void close()
public boolean isOpen()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||