public class JavaInputStreamHandle extends AbstractHandle
| Constructor and Description |
|---|
JavaInputStreamHandle(java.io.InputStream in,
GenericNodeRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
readLoop(IOCompletionHandler<java.nio.ByteBuffer> handler) |
void |
startReading(IOCompletionHandler<java.nio.ByteBuffer> handler) |
void |
stopReading() |
getReadHandler, getWritesOutstanding, setReadHandler, write, write, writeHandle, writeHandlepublic JavaInputStreamHandle(java.io.InputStream in,
GenericNodeRuntime runtime)
public void startReading(IOCompletionHandler<java.nio.ByteBuffer> handler)
startReading in interface HandlestartReading in class AbstractHandleprotected void readLoop(IOCompletionHandler<java.nio.ByteBuffer> handler)
public void stopReading()
stopReading in interface HandlestopReading in class AbstractHandlepublic void close()
close in interface Handleclose in class AbstractHandleCopyright © 2018 Apigee Corporation. All Rights Reserved.