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

Field Summary
 
Fields inherited from class com.sun.grizzly.async.AbstractAsyncQueueReader
selectorHandler
 
Constructor Summary
TCPAsyncQueueReader(SelectorHandler selectorHandler)
           
 
Method Summary
protected  OperationResult doRead(ReadableByteChannel channel, ByteBuffer byteBuffer, AsyncQueueDataProcessor readPostProcessor, OperationResult dstResult)
           
 
Methods inherited from class com.sun.grizzly.async.AbstractAsyncQueueReader
close, getAsyncQueue, isReady, 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 OperationResult doRead(ReadableByteChannel channel,
                                 ByteBuffer byteBuffer,
                                 AsyncQueueDataProcessor readPostProcessor,
                                 OperationResult dstResult)
                          throws IOException
Specified by:
doRead in class AbstractAsyncQueueReader
Throws:
IOException


Copyright © 2012 Oracle Corporation. All Rights Reserved.