|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.transport.tcp.protocols.AbstractByteProtocol
org.mule.transport.tcp.protocols.DirectProtocol
org.mule.transport.tcp.protocols.EOFProtocol
org.mule.transport.tcp.protocols.StreamingProtocol
public class StreamingProtocol
Field Summary |
---|
Fields inherited from class org.mule.transport.tcp.protocols.DirectProtocol |
---|
bufferSize, UNLIMITED |
Fields inherited from class org.mule.transport.tcp.protocols.AbstractByteProtocol |
---|
EOF, NO_STREAM, STREAM_OK |
Constructor Summary | |
---|---|
StreamingProtocol()
|
Method Summary | |
---|---|
protected void |
copyStream(java.io.InputStream is,
java.io.OutputStream os)
|
protected int |
getLimit()
|
java.lang.Object |
read(java.io.InputStream is)
Reads the input stream and returns a whole message. |
Methods inherited from class org.mule.transport.tcp.protocols.EOFProtocol |
---|
isRepeat |
Methods inherited from class org.mule.transport.tcp.protocols.DirectProtocol |
---|
read, remaining |
Methods inherited from class org.mule.transport.tcp.protocols.AbstractByteProtocol |
---|
copy, copy, createResponse, isRethrowExceptionOnRead, nullEmptyArray, safeRead, safeRead, setRethrowExceptionOnRead, write, writeByteArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.mule.transport.tcp.TcpProtocol |
---|
createResponse, write |
Constructor Detail |
---|
public StreamingProtocol()
Method Detail |
---|
public java.lang.Object read(java.io.InputStream is) throws java.io.IOException
TcpProtocol
read
in interface TcpProtocol
read
in class DirectProtocol
is
- the input stream
java.io.IOException
- if an exception occursprotected void copyStream(java.io.InputStream is, java.io.OutputStream os) throws java.io.IOException
is
- os
-
java.io.IOException
protected int getLimit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |