|
||||||||||
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
public class EOFProtocol
The EOFProtocol class is an application level tcp protocol that does nothing. Reading is terminated by the stream being closed by the client.
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 | |
---|---|
EOFProtocol()
|
Method Summary | |
---|---|
protected boolean |
isRepeat(int len,
int available)
Repeat until end of file |
Methods inherited from class org.mule.transport.tcp.protocols.DirectProtocol |
---|
read, 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 |
Constructor Detail |
---|
public EOFProtocol()
Method Detail |
---|
protected boolean isRepeat(int len, int available)
isRepeat
in class DirectProtocol
len
- Amount transferred last call (-1 on EOF or socket error)available
- Amount available
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |