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 Input
public byte read() throws IOException
read
in interface Input
IOException
public boolean isBuffered()
isBuffered
in interface Input
public Buffer getBuffer()
Input
Buffer
.public Buffer takeBuffer()
Input
takeBuffer
in interface Input
Buffer
. This Input should
never try to access this Buffer
.public void close() throws IOException
close
in interface Input
IOException
Copyright © 2014 Oracle Corporation. All rights reserved.