Package org.glassfish.grizzly.streams
Interface Input
-
- All Known Implementing Classes:
BufferedInput
,DefaultStreamReader.Input
,StreamInput
,TransformerInput
public interface Input
- Author:
- Alexey Stashok
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Buffer
getBuffer()
Return the Input'sBuffer
.boolean
isBuffered()
GrizzlyFuture<Integer>
notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
byte
read()
int
size()
void
skip(int length)
Buffer
takeBuffer()
Takes the Input'sBuffer
.
-
-
-
Method Detail
-
notifyCondition
GrizzlyFuture<Integer> notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
-
read
byte read() throws IOException
- Throws:
IOException
-
skip
void skip(int length)
-
isBuffered
boolean isBuffered()
-
takeBuffer
Buffer takeBuffer()
-
size
int size()
-
close
void close() throws IOException
- Throws:
IOException
-
-