com.sun.enterprise.web.connector.grizzly.comet
Class CometReader

java.lang.Object
  extended by com.sun.grizzly.comet.CometReader
      extended by com.sun.enterprise.web.connector.grizzly.comet.CometReader

Deprecated. use CometReader from com.sun.grizzly.comet

public class CometReader
extends CometReader

Non blocking IO reader. This class can be used from a CometHandler to execute non blocking read. This is usefull when the client is pipelining data. The CometHandler will be notified as soon as bytes are arriving. CometHandler who wants to be notified just need to register themself by calling CometContext.registerAsyncRead()

Author:
Jeanfrancois Arcand

Constructor Summary
CometReader()
          Deprecated.  
 
Method Summary
 
Methods inherited from class com.sun.grizzly.comet.CometReader
isReady, read, read, recycle, setByteBuffer, setChannel, setNRead, setReady
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CometReader

public CometReader()
Deprecated. 


Copyright © 2008 SUN Microsystems. All Rights Reserved.