|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MLLPV2CommonInterface
A common interface that is implemented by HL7ApplicationImpl and HL7v3ApplicationImpl
Field Summary | |
---|---|
static java.lang.String |
version
|
Method Summary | |
---|---|
java.lang.String |
getApplicationName()
Used to get the Application name. |
java.lang.String |
getDatasourceJNDIName()
The getDatasourceJNDIName method is used to get the Datasource JNDI name bound to the perticular dataBase. |
boolean |
isHL7v3Message()
The isHL7v3Message method is check the received hl7 message is V3 message or not. |
boolean |
isHL7v3QueuedAcknowledgementType()
Used to find the configured Acknowledgment is Queued one or nor for HL7 v3 Message processing. |
boolean |
isServerConnectionType()
The isServerConnectionType method is used to find the server connection type is server or client. |
void |
sendEnvelopedMsg(byte[] llpMessage)
Envelopes (according to LLP settings) the HL7 data which is stored in payload, The enveloped HL7 data is then sent out over the MLLPv2. |
void |
sendMessagePayload()
Envelopes (according to LLP settings) the HL7 data which is stored in payload, The enveloped HL7 data is then sent out over the MLLPv2. |
void |
setMessagePayload(byte[] payload)
The payload holds HL7 data. |
void |
updateMBeanProperty(java.lang.String propertyName,
java.lang.String propertyDisplayValue)
The updateMBeanProperty method is used to update the Mbean properties. |
Field Detail |
---|
static final java.lang.String version
Method Detail |
---|
void sendMessagePayload() throws HL7ApplicationException, java.io.IOException
Before this method is called, the outgoing HL7 data should already be stored in payload by the setPayload() method. Note: If it fails to send the enveloped data over the TCP/IP connection, IOException will be thrown. If it fails to envelope data, HL7ApplicationException will be thrown.
HL7ApplicationException
- Thrown upon LLP enveloping related error.
IOException
- Thrown upon TCP/IP transport error.
HL7ApplicationException
java.io.IOException
void setMessagePayload(byte[] payload) throws HL7ApplicationException
payload
- The payload to set.
HL7ApplicationException
- Thrown upon error.
HL7ApplicationException
void sendEnvelopedMsg(byte[] llpMessage) throws TCPIPApplicationException, java.io.IOException
Before this method is called, the outgoing HL7 data should already be stored in payload by the setPayload() method. Note: If it fails to send the enveloped data over the TCP/IP connection, IOException will be thrown. If it fails to envelope data, HL7ApplicationException will be thrown.
llpMessage
- --The enveloped HL7 Message
HL7ApplicationException
- Thrown upon LLP enveloping related error.
IOException
- Thrown upon TCP/IP transport error.
TCPIPApplicationException
java.io.IOException
void updateMBeanProperty(java.lang.String propertyName, java.lang.String propertyDisplayValue)
propertyName
- --The property name to be updated.propertyDisplayValue
- --The property display value.boolean isServerConnectionType()
boolean
- true or false.java.lang.String getDatasourceJNDIName() throws HL7ApplicationException
String
- JNDI name.
HL7ApplicationException
- Thrown upon retrieving the JNDI name.
HL7ApplicationException
java.lang.String getApplicationName()
String
- Application Name.boolean isHL7v3Message()
boolean
- return true or false.boolean isHL7v3QueuedAcknowledgementType() throws HL7ApplicationException
boolean
- return true or false.
HL7ApplicationException
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |