1 package ca.uhn.hl7v2.hoh.api; 2 3 import ca.uhn.hl7v2.hoh.raw.server.HohRawServlet; 4 5 /** 6 * <p> 7 * Service interface which can be implemented by an application to 8 * process incoming messages received by {@link HohRawServlet}. 9 * </p> 10 * <p> 11 * 12 * </p> 13 * 14 */ 15 public interface IMessageHandler<T> { 16 17 IResponseSendable<T> messageReceived(IReceivable<T> theMessage) throws MessageProcessingException; 18 19 }