com.sun.grizzly.async
Class TCPAsyncQueueReader

java.lang.Object
  extended by com.sun.grizzly.async.AbstractAsyncQueueReader
      extended by com.sun.grizzly.async.TCPAsyncQueueReader
All Implemented Interfaces:
AsyncQueueReader

public class TCPAsyncQueueReader
extends AbstractAsyncQueueReader

Author:
Alexey Stashok

Constructor Summary
TCPAsyncQueueReader(SelectorHandler selectorHandler)
           
 
Method Summary
protected  SocketAddress doRead(ReadableByteChannel channel, ByteBuffer byteBuffer, AsyncQueueDataProcessor readPostProcessor)
           
 
Methods inherited from class com.sun.grizzly.async.AbstractAsyncQueueReader
close, isAsyncQueueReaderEnabledFor, onClose, onRead, read, read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPAsyncQueueReader

public TCPAsyncQueueReader(SelectorHandler selectorHandler)
Method Detail

doRead

protected SocketAddress doRead(ReadableByteChannel channel,
                               ByteBuffer byteBuffer,
                               AsyncQueueDataProcessor readPostProcessor)
                        throws IOException
Specified by:
doRead in class AbstractAsyncQueueReader
Throws:
IOException


Copyright © 2011 SUN Microsystems. All Rights Reserved.