1 package ca.uhn.hl7v2.hoh.api; 2 3 import java.io.IOException; 4 import java.io.Writer; 5 6 import ca.uhn.hl7v2.hoh.encoder.EncodingStyle; 7 8 public interface ISendable<T> { 9 10 void writeMessage(Writer theWriter) throws IOException; 11 12 EncodingStyle getEncodingStyle(); 13 14 T getMessage(); 15 16 }