[REBOL] Re: async pop protocol
From: antonr:iinet:au at: 25-Sep-2003 3:10
What does it offer that is different to usual pop scheme?
I imagine a situation where the handler notifies your
call-back function when there is an email ready.
Call-back might want to handle chunks of data rather
than a cached email, so a direct mode would be good.
So the handler should communicate with the call-back
via a simple dialect. Something like this:
'command-result (ie. from LIST
followed by the data...
I think the simplest case should do as much as possible automatically:
(log in, LIST, retrieve all emails into a block result, log out),
using as little dialect as possible, and direct mode should
give full control, allowing to preview mail headers using TOP,
filter undesirable mails, specify filenames for emails, etc.
I presume you will call it async-pop:// ?