[Vortex] VortexOnFrameReceived handler timeout?

Francis Brosnan Blazquez francis at aspl.es
Fri Oct 12 13:08:44 CEST 2007


Hi Chris,

> How soon does a reply need to be sent after a message is received in a
> VortexOnFrameReceived handler?  

..depends on your needs..

> Can I block as long as I want?  

.. sure, but keeping in mind the following ..

> If not,
> what is the timeout value?

I think it is more a thread limit than a time one (assuming that the
side is waiting for the reply isn't implementing a timeout).

You can keep working inside the frame received handler as long as you
want and the vortex engine will keep working, however...all real working
threads executing your frame received handler will be exhausted soon if
no thread is available to process messages received. 

If such situation is reached, all messages are "queued" until a thread
(from the thread pool [1]) is available to process all pending work.

Cheers!

[1] vortex_thread_pool_get_num.

> Thanks!
> 
> Chris
> 
> 




More information about the Vortex mailing list