|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.message.common.BytesMsg
public class BytesMsg
This message represents a generic byte(s) message implementation.
Field Summary | |
---|---|
static java.lang.String |
version
|
Constructor Summary | |
---|---|
BytesMsg(byte byteValue)
Constructor |
|
BytesMsg(byte[] bytes)
Constructor |
|
BytesMsg(char charValue)
Constructor |
Method Summary | |
---|---|
byte[] |
getBytes()
Returns a byte array. |
void |
setBytes(byte[] bytes)
Sets the bytes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String version
Constructor Detail |
---|
public BytesMsg(byte[] bytes)
bytes
- byte[]public BytesMsg(byte byteValue)
byteValue
- The byte valuepublic BytesMsg(char charValue)
charValue
- The char valueMethod Detail |
---|
public void setBytes(byte[] bytes)
bytes
- The bytes to setpublic byte[] getBytes() throws java.io.IOException
AbstractMsg
getBytes
in interface AbstractMsg
java.io.IOException
- on errorAbstractMsg.getBytes()
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |