Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: How about ...

by rvosa (Curate)
on Feb 26, 2007 at 23:22 UTC ( #602243=note: print w/replies, xml ) Need Help??

in reply to How about ...
in thread posting from POE to XUL

Thanks, erm, Moron :)

In this case, though, the idea is that the log is tailed in a non-blocking way, so that rather than having to periodically check it - halting everything else - it's done either in multitasking environment (hence POE), or through something like threads (but sharing widget objects is painful).

The solution that I've found to sort of work is to have spawn a poe log tail wheel and a light poe http server that receives the tail in a buffer. The server than writes out the buffer in a page that periodically refreshes, and this page is served up in an iframe inside the xul app. The downside is that it's a bit jerky with the refreshing, but it gets the job done.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://602243]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2020-12-01 15:15 GMT
Find Nodes?
    Voting Booth?
    How often do you use taint mode?

    Results (11 votes). Check out past polls.