[
https://issues.apache.org/jira/browse/AWF-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Stevenson moved DEFT-109 to AWF-72:
----------------------------------------
Reporter: Niklas Gustavsson
Key: AWF-72 (was: DEFT-109)
Project: Apache AWF (was: Deft)
> Asynchronous socket
> -------------------
>
> Key: AWF-72
> URL: https://issues.apache.org/jira/browse/AWF-72
> Project: Apache AWF
> Issue Type: Bug
> Reporter: Niklas Gustavsson
>
> To have better third party support (realised this during the impl of the
> async http client) we should offer something similar to Tornados iostream,
> which is basically an async (buffered) socket.
> impl proposal.
> The AsynchronousSocket should implement IOHandler and (initially) have
> methods like:
> connect(String host, int port, AsyncCallback ccb)
> close();
> readUntil(String delimiter, AsyncResult<String> rcb)
> write(String data, AsyncCallback wcb)
> we should probably add something like
> readBytes(int n, AsyncResult<String> rcb)
> later on.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira