com.sun.grizzly.comet
Class CometAsyncFilter

java.lang.Object
  extended by com.sun.grizzly.comet.CometAsyncFilter
All Implemented Interfaces:
AsyncFilter

public class CometAsyncFilter
extends Object
implements AsyncFilter

AJAX/Comet support using the Grizzly Asynchronous Request Processing default mechanism. Instance of this class represent an interrupted/polled/Comet request. Note: The request can be resumed anytime, and the polled request is not holding a thread.

Author:
Jeanfrancois Arcand

Constructor Summary
CometAsyncFilter()
          Comet Async Filter.
 
Method Summary
 boolean doFilter(AsyncExecutor asyncExecutor)
          Execute the Comet AsyncFilter by delegating the work to the CometEngine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CometAsyncFilter

public CometAsyncFilter()
Comet Async Filter.

Method Detail

doFilter

public boolean doFilter(AsyncExecutor asyncExecutor)
Execute the Comet AsyncFilter by delegating the work to the CometEngine. At this stage, the request has already been interrupted.

Specified by:
doFilter in interface AsyncFilter


Copyright © 2010 SUN Microsystems. All Rights Reserved.