Sun Adapter for TCP/IP HL7

com.stc.connector.message.common
Interface AbstractMsg

All Known Implementing Classes:
AckMsg, AckNakMsg, BeginEndMarkedMsg, BinaryNumberMsg, BytesMsg, CountPrefixedMsg, EndMarkedMsg, EnvelopedMsg, FixedLengthMsg, LengthPrefixedMsg, MarkedAndFixedMsg, NakMsg, NumberMsg, PerActiveConnectionMsg, RepeatingMsg, TextMsg

public interface AbstractMsg

This is the root interface for the message model.

Version:
cvs revision: $Revision: 1.4 $ Last Modified: $Date: 2005/09/03 06:30:02 $
Author:
Harry Liu

Field Summary
static java.lang.String version
           
 
Method Summary
 byte[] getBytes()
          Returns a byte array.
 

Field Detail

version

static final java.lang.String version
See Also:
Constant Field Values
Method Detail

getBytes

byte[] getBytes()
                throws java.io.IOException
Returns a byte array. This is the method that all kinds of messages need to implement.

Returns:
A byte array
Throws:
java.io.IOException - on error

Sun Adapter for TCP/IP HL7