public interface ObjectMessage
Modifier and Type | Method and Description |
---|---|
Serializable |
asSerializableObject()
Return payload as a Serializable Java Object
|
void |
writeTo(OutputStream os)
Serialize the payload Object to the given OutputStream
|
Serializable asSerializableObject() throws FormatConversionException
FormatConversionException
- if the base Object is not Serializablevoid writeTo(OutputStream os) throws IOException
os
- the OutputStream to serialize the message intoIOException
Copyright © 2010–2016 AdroitLogic. All rights reserved.