com.sun.grizzly.http.algorithms
Class StreamAlgorithmBase.DummyHandler

java.lang.Object
  extended by com.sun.grizzly.http.algorithms.StreamAlgorithmBase.DummyHandler
All Implemented Interfaces:
Interceptor<Object,SocketChannel>
Enclosing class:
StreamAlgorithmBase

public static class StreamAlgorithmBase.DummyHandler
extends Object
implements Interceptor<Object,SocketChannel>

Empty handler used when Grizzly is bundled outside of GlassFish.

Author:
Jeanfrancois Arcand

Field Summary
 
Fields inherited from interface com.sun.grizzly.util.Interceptor
BREAK, CONTINUE, REQUEST_BUFFERED, REQUEST_LINE_PARSED, RESPONSE_PROCEEDED
 
Constructor Summary
StreamAlgorithmBase.DummyHandler()
           
 
Method Summary
 void attachChannel(SocketChannel sc)
           
 int handle(Object e, int handlerCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamAlgorithmBase.DummyHandler

public StreamAlgorithmBase.DummyHandler()
Method Detail

handle

public int handle(Object e,
                  int handlerCode)
           throws IOException
Specified by:
handle in interface Interceptor<Object,SocketChannel>
Throws:
IOException

attachChannel

public void attachChannel(SocketChannel sc)
Specified by:
attachChannel in interface Interceptor<Object,SocketChannel>


Copyright © 2009 SUN Microsystems. All Rights Reserved.