| Constructor and Description |
|---|
StreamInput(StreamReader streamReader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Buffer |
getBuffer()
Return the Input's
Buffer. |
boolean |
isBuffered() |
GrizzlyFuture<Integer> |
notifyCondition(Condition condition,
CompletionHandler<Integer> completionHandler) |
byte |
read() |
int |
size() |
void |
skip(int length) |
Buffer |
takeBuffer()
Takes the Input's
Buffer. |
public StreamInput(StreamReader streamReader)
public GrizzlyFuture<Integer> notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
notifyCondition in interface Inputpublic byte read()
throws IOException
read in interface InputIOExceptionpublic boolean isBuffered()
isBuffered in interface Inputpublic Buffer getBuffer()
InputBuffer.public Buffer takeBuffer()
InputtakeBuffer in interface InputBuffer. This Input should
never try to access this Buffer.public void close()
throws IOException
close in interface InputIOExceptionCopyright © 2016 Oracle Corporation. All Rights Reserved.