From: Gerd v. Egidy Date: Fri, 17 Oct 2008 16:07:14 +0000 (+0000) Subject: new ideas & names X-Git-Tag: v0.3~97 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=f08040301b97b421bd47f402e6913073720854e8;p=libasyncio new ideas & names --- diff --git a/ideas.txt b/ideas.txt index 540b078..d5a8258 100644 --- a/ideas.txt +++ b/ideas.txt @@ -8,10 +8,15 @@ don't use namespace i2n but namespace according to new project name ideas: libsimpleio libastiop (LIBrary for ASynchronous Timer, I/O and Process) - -important todo --------------------- -don't use m_poll_vector.front() directly as argument to poll, relies on std::vector really storing it's data continous +libsimpleasio +libasiocontrol +libasiohandle +libasioflow +libasiomaster +libiocontrol +libasyncrap +libasyncwrap +libasyncio smaller refactoring @@ -26,7 +31,7 @@ separate pollfd, maybe encapsulate the pollfd-struct instead of deriving from it separate polldatacluster document that timerbase is always based on monotonic clock, getrealwhentime converts the time live document handling of error-cases, m_errno (e.g. mask ENOTSOCK for non-socket fds) - +provide simple replacements for system() and pipestream using simpleio and timeouts bigger refactoring ------------------ @@ -37,3 +42,9 @@ ideas ----- offer a common io-client or io-server, abstracting out the real communication channel used. makes it possible to switch between ways of communication at runtime + +glue_t2n +-------- +don't call doOneStep from within the fill_buffer()-variants +- for the server-variants not that hard if you require that command_server::handle will be called on every socket-event +- for the client: needs callback-interface on t2n-side, need to think about it