|
||||||||||
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.XmlMessageProtocol
org.mule.transport.tcp.protocols.XmlMessageEOFProtocol
public class XmlMessageEOFProtocol
Extend XmlMessageProtocol
to continue reading
until either a new message or EOF is found.
Field Summary |
---|
Fields inherited from class org.mule.transport.tcp.protocols.AbstractByteProtocol |
---|
EOF, NO_STREAM, STREAM_OK |
Constructor Summary | |
---|---|
XmlMessageEOFProtocol()
|
Method Summary | |
---|---|
protected boolean |
isRepeat(int patternIndex,
int len,
int available)
Continue reading til EOF or new document found |
Methods inherited from class org.mule.transport.tcp.protocols.XmlMessageProtocol |
---|
read |
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 |
Constructor Detail |
---|
public XmlMessageEOFProtocol()
Method Detail |
---|
protected boolean isRepeat(int patternIndex, int len, int available)
isRepeat
in class XmlMessageProtocol
patternIndex
- The index of the xml tag (or -1 if the next message not found)len
- The amount of data read this loop (or -1 if EOF)available
- The amount of data available to read
XmlMessageEOFProtocol
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |