Hi,
I'm currently writing an SMS rebroadcast program (receive a SMS and rebroadcast it via an internet SMS service provider - much cheaper than the phone company) and I may spend some time in an SMSInterceptor MessageReceived event. What happens if a second SMS message is received whilst I'm processing the first message in the MessageReceived event? Does the message get queued and then the MessageReceived event is fired once the first message has been processed (aka MessageReceived completes and then gets re-fired to run a second time)?
The reason why I'm asking is do I need to do special things to make my code re-entrant?
Thanks.
Cheers.
M
I'm currently writing an SMS rebroadcast program (receive a SMS and rebroadcast it via an internet SMS service provider - much cheaper than the phone company) and I may spend some time in an SMSInterceptor MessageReceived event. What happens if a second SMS message is received whilst I'm processing the first message in the MessageReceived event? Does the message get queued and then the MessageReceived event is fired once the first message has been processed (aka MessageReceived completes and then gets re-fired to run a second time)?
The reason why I'm asking is do I need to do special things to make my code re-entrant?
Thanks.
Cheers.
M