Package ca.uhn.hl7v2.protocol.impl
Class AcceptAcknowledger
java.lang.Object
ca.uhn.hl7v2.protocol.impl.AcceptAcknowledger
Checks whether messages can be accepted and creates appropriate
ACK messages.
- Version:
- $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:26 $ by $Author: jamesagnew $
- Author:
- Bryan Tripp
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA structure for decisions as to whether a message can be accepted, along with a corresponding accept or reject acknowlegement message. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AcceptAcknowledger.AcceptACKvalidate(ProcessorContext theContext, Transportable theMessage) Validates the given message against our accept validators, attempts to commit the message to safe storage, and returns an ACK message indicating acceptance or rejection at the accept level (see enhanced mode processing rules in HL7 chapter 2, v2.5).
-
Constructor Details
-
AcceptAcknowledger
public AcceptAcknowledger()
-
-
Method Details
-
validate
public static AcceptAcknowledger.AcceptACK validate(ProcessorContext theContext, Transportable theMessage) throws HL7Exception Validates the given message against our accept validators, attempts to commit the message to safe storage, and returns an ACK message indicating acceptance or rejection at the accept level (see enhanced mode processing rules in HL7 chapter 2, v2.5).- Throws:
HL7Exception
-