Hi,

My favorite way is to switch([({system("test -f /tmp/foo")},source)])
and you don't even need the server: just touch or remove the file to
enable/disable the source. It seems ugly-heavy but in practice it
works unbelievably well... at least, it doesn't take 20 lines of code.

For your second question, this makes me think that we should have
source.is_ready(), next to source.id() & co.

Cheers,

David

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to