ca.uhn.hl7v2.protocol.impl
Class AcceptAcknowledger

java.lang.Object
  extended by ca.uhn.hl7v2.protocol.impl.AcceptAcknowledger

public class AcceptAcknowledger
extends java.lang.Object

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
static class AcceptAcknowledger.AcceptACK
          A structure for decisions as to whether a message can be accepted, along with a corresponding accept or reject acknowlegement message.
 
Constructor Summary
AcceptAcknowledger()
           
 
Method Summary
static AcceptAcknowledger.AcceptACK validate(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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptAcknowledger

public AcceptAcknowledger()
Method Detail

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


Copyright © 2001-2011 University Health Network. All Rights Reserved.