@Alias(value="eof-protocol") @XmlHints(allowTopLevelDefinition=true) public class EOFProtocol extends DirectProtocol
TcpProtocol that does nothing. Reading is terminated by the stream being closed
by the client.
bufferSize, UNLIMITEDEOF, NO_MAX_LENGTH, NO_STREAM, objectSerializer, rethrowExceptionOnRead, STREAM_OK, streamOk| Constructor and Description |
|---|
EOFProtocol() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isRepeat(int len,
int available)
Repeat until EOF
|
consume, read, remaining, writecopy, copy, nullIfEmptyArray, safeRead, safeRead, setObjectSerializer, writeByteArrayprotected boolean isRepeat(int len,
int available)
isRepeat in class DirectProtocollen - Amount transferred last call (-1 on EOF or socket error)available - Amount availableCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.