public class MuleMessageEOFProtocol extends EOFProtocol
bufferSize, UNLIMITEDEOF, NO_STREAM, STREAM_OK| Constructor and Description |
|---|
MuleMessageEOFProtocol() |
| Modifier and Type | Method and Description |
|---|---|
Object |
read(InputStream is)
Reads the input stream and returns a whole message.
|
void |
write(OutputStream os,
Object unused)
Write the specified message to the output stream.
|
isRepeatread, remainingcopy, copy, createResponse, nullEmptyArray, safeRead, safeRead, writeByteArraypublic Object read(InputStream is) throws IOException
TcpProtocolread in interface TcpProtocolread in class DirectProtocolis - the input streamIOException - if an exception occurspublic void write(OutputStream os, Object unused) throws IOException
TcpProtocolwrite in interface TcpProtocolwrite in class AbstractByteProtocolos - the output stream to write tounused - the data to writeIOException - if an exception occursCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.