001package ca.uhn.hl7v2.hoh.api;
002
003import ca.uhn.hl7v2.hoh.raw.server.HohRawServlet;
004
005/**
006 * <p>
007 * Service interface which can be implemented by an application to
008 * process incoming messages received by {@link HohRawServlet}.
009 * </p>
010 * <p>
011 * 
012 * </p>
013 * 
014 */
015public interface IMessageHandler<T> {
016
017        IResponseSendable<T> messageReceived(IReceivable<T> theMessage) throws MessageProcessingException;
018        
019}