public class MuleMessageLengthProtocol extends LengthProtocol implements org.mule.api.context.MuleContextAware
LengthProtocol.NO_MAX_LENGTHbufferSize, UNLIMITEDEOF, NO_STREAM, STREAM_OK| Constructor and Description |
|---|
MuleMessageLengthProtocol() |
| Modifier and Type | Method and Description |
|---|---|
Object |
read(InputStream is)
Reads the input stream and returns a whole message.
|
void |
setMuleContext(org.mule.api.MuleContext context) |
void |
write(OutputStream os,
Object unused)
Write the specified message to the output stream.
|
getMaxMessageLength, isRepeat, setMaxMessageLength, writeByteArrayread, remainingcopy, copy, createResponse, isRethrowExceptionOnRead, nullEmptyArray, safeRead, safeRead, setObjectSerializer, setRethrowExceptionOnReadpublic Object read(InputStream is) throws IOException
TcpProtocolread in interface TcpProtocolread in class LengthProtocolis - 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 occurspublic void setMuleContext(org.mule.api.MuleContext context)
setMuleContext in interface org.mule.api.context.MuleContextAwareCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.