public class StreamingProtocol extends EOFProtocol implements TcpProtocol
bufferSize, UNLIMITEDEOF, NO_STREAM, STREAM_OK| Constructor and Description |
|---|
StreamingProtocol() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyStream(InputStream is,
OutputStream os) |
protected int |
getLimit() |
Object |
read(InputStream is)
Reads the input stream and returns a whole message.
|
isRepeatread, remainingcopy, copy, createResponse, nullEmptyArray, safeRead, safeRead, write, writeByteArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateResponse, writepublic Object read(InputStream is) throws IOException
TcpProtocolread in interface TcpProtocolread in class DirectProtocolis - the input streamIOException - if an exception occursprotected void copyStream(InputStream is, OutputStream os) throws IOException
is - os - IOExceptionprotected int getLimit()
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.