- All Known Implementing Classes:
BufferedInput,DefaultStreamReader.Input,StreamInput,TransformerInput
public interface Input
- Author:
- Alexey Stashok
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Return the Input'sBuffer.booleannotifyCondition(Condition condition, CompletionHandler<Integer> completionHandler) byteread()intsize()voidskip(int length) Takes the Input'sBuffer.
-
Method Details
-
notifyCondition
GrizzlyFuture<Integer> notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler) -
read
- Throws:
IOException
-
skip
void skip(int length) -
isBuffered
boolean isBuffered() -
getBuffer
Buffer getBuffer()Return the Input'sBuffer.- Returns:
- the Input's
Buffer.
-
takeBuffer
Buffer takeBuffer() -
size
int size() -
close
- Throws:
IOException
-