I know there has been some experimenting with ''attach'' and
''detach.
You may be able to attach STDIN/STDOUT so that EM watches fd 1 [is
that STDIN/STDOUT?]--I''m not totally sure of the semantics, having
never used it. I think there''s a keyboard reader which might fake
STDIN.
Cheers.
-=R
On Mon, Oct 13, 2008 at 9:14 AM, Kenneth Kalmer
<kenneth.kalmer at gmail.com> wrote:> Hi all
>
> I''m tasked with writing an experimental backend for PowerDNS, and
> since I speak ruby I thought the backend should do the same. PowerDNS
> allows developers to create custom, piped backends
> (http://doc.powerdns.com/backends-detail.html#PIPEBACKEND). It''s a
> very simple text protocol over STDIN/STDOUT, and I was wondering if EM
> would be a good for this, and other similar tasks (over piped
> communications)?
>
> Kind regards
>
> --
> Kenneth Kalmer
> kenneth.kalmer at gmail.com
> http://opensourcery.co.za
> _______________________________________________
> Eventmachine-talk mailing list
> Eventmachine-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/eventmachine-talk
>
--
Thanks!
-=R