incubator-awf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Stevenson (Moved) (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (AWF-72) Asynchronous socket
Date Wed, 29 Feb 2012 10:10:04 GMT

     [ 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

        

Mime
View raw message