public interface ByteArrayMessage
Modifier and Type | Method and Description |
---|---|
Serializable |
asSerializableObject()
The payload as a Serializable byte[]
|
byte[] |
getBytes()
Get the payload byte[]
|
String |
toString()
Return the payload as a String - limited to 64K in size
|
void |
writeTo(OutputStream os)
Write the payload to the given OutputStream
|
String toString()
void writeTo(OutputStream os) throws IOException
os
- the OutputStream to serialize the message intoIOException
- on failureSerializable asSerializableObject() throws FormatConversionException
FormatConversionException
- on failurebyte[] getBytes()
Copyright © 2010–2016 AdroitLogic. All rights reserved.