Re: Two way channel roles?

Andy Dent <[email protected]> Tue, 21 Jan 2003 12:19:23 +0800
Newsgroups gmane.network.beep.beepcore.c.general
Message-ID <a05100305ba5274c8d10b@[192.168.0.1]>
Thanks both William and Darren

At 17:08 -0800 20/01/2003, William J. Mills wrote:

>Probably the most confusing thing is that both the "client" and the "server"
>in this case require that this channel be opened, and how do they agree on
>who starts it?
Fortunately for me that is unambiguous - the Client always starts the channel.

>As for triggering a dtaa stream and then cancelling it, why not use
>
>I:	MSG 1 TriggerRequest
>L:	ANS 1 1 data....
>L:	ANS 1 2 data....
>...

There is no guarantee that any triggers will fire - they are asynch events
depending on brainwave data matching the trigger conditions. This means
there would be no telling when or if the first ANS would arrive in response
to the MSG TriggerRequest.

There are however going to be Filter messages which are similar to Triggers
but instead of being evaluated to see if they meet a single final
threshold, just send some processed data.

Hmmm.

I'll think about your pattern for those.

Thanks
-- 
Andy Dent BSc  MACS  AACM   http://www.oofile.com.au/
OOFILE - Database, Reports, Graphs, GUI for c++ on Mac, Unix & Windows
PP2MFC - PowerPlant->MFC portability


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com