java.lang.Object
org.glassfish.grizzly.streams.StreamInput
- All Implemented Interfaces:
Input
- Author:
- Alexey Stashok
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Return the Input'sBuffer.booleannotifyCondition(Condition condition, CompletionHandler<Integer> completionHandler) byteread()intsize()voidskip(int length) Takes the Input'sBuffer.
-
Constructor Details
-
StreamInput
-
-
Method Details
-
notifyCondition
public GrizzlyFuture<Integer> notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler) - Specified by:
notifyConditionin interfaceInput
-
read
- Specified by:
readin interfaceInput- Throws:
IOException
-
skip
public void skip(int length) -
isBuffered
public boolean isBuffered()- Specified by:
isBufferedin interfaceInput
-
getBuffer
Description copied from interface:InputReturn the Input'sBuffer. -
takeBuffer
Description copied from interface:Input- Specified by:
takeBufferin interfaceInput- Returns:
- the Input's
Buffer. This Input should never try to access thisBuffer.
-
size
public int size() -
close
- Specified by:
closein interfaceInput- Throws:
IOException
-