com.sun.grizzly.comet
Class CometInputStream
java.lang.Object
java.io.InputStream
com.sun.grizzly.util.InputReader
com.sun.grizzly.comet.CometInputStream
- All Implemented Interfaces:
- Closeable
public class CometInputStream
- extends InputReader
Simple InputStream
implementation that is backed by a
ByteBuffer
- Author:
- Jeanfrancois Arcand
Method Summary |
void |
recycle()
Recycle the stream. |
Methods inherited from class com.sun.grizzly.util.InputReader |
available, close, doClearRead, doRead, doSecureRead, getByteBuffer, getChannelType, getDefaultReadTimeout, getReadTimeout, isSecure, markSupported, read, read, read, read, setByteBuffer, setChannelType, setDefaultReadTimeout, setReadTimeout, setSecure, setSelectionKey |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CometInputStream
public CometInputStream()
- Creates a new
CometInputStream
recycle
public void recycle()
- Recycle the stream.
- Overrides:
recycle
in class InputReader
Copyright © 2012 Oracle Corporation. All Rights Reserved.