com.sun.grizzly.async
Class AsyncQueueReadUnit

java.lang.Object
  extended by com.sun.grizzly.async.AsyncQueueReadUnit

public class AsyncQueueReadUnit
extends Object

AsyncQueue write data unit

Author:
Alexey Stashok

Field Summary
protected  ByteBuffer byteBuffer
           
protected  AsyncReadCallbackHandler callbackHandler
           
protected  AsyncReadCondition condition
           
protected  Future<AsyncQueueReadUnit> future
           
protected  AsyncQueueDataProcessor readPostProcessor
           
 
Constructor Summary
AsyncQueueReadUnit()
           
 
Method Summary
 ByteBuffer getByteBuffer()
           
 AsyncReadCallbackHandler getCallbackHandler()
           
 AsyncReadCondition getCondition()
           
 Future<AsyncQueueReadUnit> getFuture()
           
 AsyncQueueDataProcessor getReadPostProcessor()
           
 void set(ByteBuffer byteBuffer, AsyncReadCallbackHandler callbackHandler, AsyncReadCondition condition, AsyncQueueDataProcessor readPostProcessor, Future<AsyncQueueReadUnit> future)
           
 void setByteBuffer(ByteBuffer byteBuffer)
           
 void setCallbackHandler(AsyncReadCallbackHandler callbackHandler)
           
 void setCondition(AsyncReadCondition condition)
           
 void setFuture(Future<AsyncQueueReadUnit> future)
           
 void setReadPostProcessor(AsyncQueueDataProcessor readPostProcessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

byteBuffer

protected ByteBuffer byteBuffer

callbackHandler

protected AsyncReadCallbackHandler callbackHandler

condition

protected AsyncReadCondition condition

readPostProcessor

protected AsyncQueueDataProcessor readPostProcessor

future

protected Future<AsyncQueueReadUnit> future
Constructor Detail

AsyncQueueReadUnit

public AsyncQueueReadUnit()
Method Detail

set

public void set(ByteBuffer byteBuffer,
                AsyncReadCallbackHandler callbackHandler,
                AsyncReadCondition condition,
                AsyncQueueDataProcessor readPostProcessor,
                Future<AsyncQueueReadUnit> future)

getByteBuffer

public ByteBuffer getByteBuffer()

setByteBuffer

public void setByteBuffer(ByteBuffer byteBuffer)

getCallbackHandler

public AsyncReadCallbackHandler getCallbackHandler()

setCallbackHandler

public void setCallbackHandler(AsyncReadCallbackHandler callbackHandler)

getCondition

public AsyncReadCondition getCondition()

setCondition

public void setCondition(AsyncReadCondition condition)

getReadPostProcessor

public AsyncQueueDataProcessor getReadPostProcessor()

setReadPostProcessor

public void setReadPostProcessor(AsyncQueueDataProcessor readPostProcessor)

getFuture

public Future<AsyncQueueReadUnit> getFuture()

setFuture

public void setFuture(Future<AsyncQueueReadUnit> future)


Copyright © 2012 Oracle Corporation. All Rights Reserved.