com.sun.grizzly.comet
Class CometInputStream
java.lang.Object
java.io.InputStream
com.sun.grizzly.util.ByteBufferInputStream
com.sun.grizzly.comet.CometInputStream
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- CometInputStream
public class CometInputStream
- extends ByteBufferInputStream
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.ByteBufferInputStream |
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 ByteBufferInputStream
Copyright © 2011 SUN Microsystems. All Rights Reserved.