|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AsyncQueue
Common interface for AsyncQueue processors.
| 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. |
boolean |
processAsync(Context context)
Callback method, which is called async. |
| Method Detail |
|---|
boolean isReady(Connection connection)
AsyncQueue,
associated with the Connection.
connection - Connection
boolean processAsync(Context context)
throws java.io.IOException
AsyncQueue, which are associated with the given
Connection
context - Context
java.io.IOExceptionvoid onClose(Connection connection)
Connection has been closed,
to let processor release a connection associated resources.
connection - Connection
java.io.IOExceptionvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||