|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.mule.model.streaming.DelegatingInputStream
org.mule.transport.tcp.TcpInputStream
public class TcpInputStream
The TcpMessageDispatcher
and the TcpMessageReceiver
use this
class as the input parameter to the read() method on the TcpProtocol
interface. If you wish to simply use the InputStream as the message payload
that you're reading in, you just call tcpInputStream.setStreaming(true) so
that Mule knows to stop listening for more messages on that stream.
Constructor Summary | |
---|---|
TcpInputStream(java.io.InputStream delegate)
|
Method Summary | |
---|---|
boolean |
isStreaming()
|
void |
setStreaming(boolean streaming)
|
Methods inherited from class org.mule.model.streaming.DelegatingInputStream |
---|
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TcpInputStream(java.io.InputStream delegate)
Method Detail |
---|
public boolean isStreaming()
public void setStreaming(boolean streaming)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |