001package ca.uhn.hl7v2.hoh.api;
002
003import java.io.IOException;
004import java.io.Writer;
005
006import ca.uhn.hl7v2.hoh.encoder.EncodingStyle;
007
008public interface ISendable<T> {
009
010        void writeMessage(Writer theWriter) throws IOException;
011        
012        EncodingStyle getEncodingStyle();
013
014        T getMessage();
015        
016}