public interface DataHandlerMessage
Modifier and Type | Method and Description |
---|---|
DataHandler |
getDataHandler()
Get the underlying DataHandler instance
|
InputStream |
getInputStream()
Return an InputStream to the DataHandler payload
|
void |
writeTo(OutputStream os)
Writes the DataHandler payload to the given OutputStream
|
void writeTo(OutputStream os) throws IOException
os
- the OutputStream to serialize the message intoIOException
- on IO errorsInputStream getInputStream() throws IOException
IOException
- on IO errorsDataHandler getDataHandler()
Copyright © 2010–2016 AdroitLogic. All rights reserved.