|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AsyncQueueProcessor
Common interface for AsyncQueue processors.
| Field Summary | |
|---|---|
static int |
NOT_REGISTER_KEY
|
| Method Summary | |
|---|---|
void |
close()
Close AsyncQueueProcessor and release associated resources |
boolean |
isReady(Connection connection)
Checks whether there is ready data in AsyncQueue,
associated with the Connection. |
void |
onClose(Connection connection)
Callback method, which is called, when Connection has been closed,
to let processor release a connection associated resources. |
void |
processAsync(Connection connection)
Callback method, which is called async. |
| Methods inherited from interface com.sun.grizzly.Processor |
|---|
afterProcess, beforeProcess, context, isInterested, process, setInterested |
| Field Detail |
|---|
static final int NOT_REGISTER_KEY
| Method Detail |
|---|
boolean isReady(Connection connection)
AsyncQueue,
associated with the Connection.
connection - Connection
void processAsync(Connection connection)
throws IOException
AsyncQueue, which are associated with the given
Connection
connection - Connection
IOExceptionvoid onClose(Connection connection)
Connection has been closed,
to let processor release a connection associated resources.
connection - Connection
IOExceptionvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||