Page 1 of 1

BatchMonitor use

Posted: Tue Nov 19, 2013 12:00 pm
by balagi72
Hi I am going to send bulk sms in async mode.
My doubt is what is the use of batch monitor in this instead of directly calling _client.SubmitAsync.
I can't find any description in API documentation.
So can you please clarify it.

Re: BatchMonitor use

Posted: Fri Nov 29, 2013 5:02 am
by kate
but in this component you don't allow to use another coding and must use DataCodings struct

Re: BatchMonitor use

Posted: Thu Dec 05, 2013 7:04 pm
by alt
Hi balagi72,

BatchMonitor helps to detect when asynchronous sending of thousands of messages completed or timed out.
It tracks submitted PDU requests and waits when each request receive its response.
When all responses are received event evComplete is raised, when client didn't receive response for a long time, BatchMonitor raises evTransferTimeout event.

The total number of submitted requests are counted until method _monitor.Run(...) finishes.

Re: BatchMonitor use

Posted: Thu Dec 05, 2013 7:05 pm
by alt
kate,

you are always able to specify any data coding

submitSm.DataCoding = (DataCodings) 25;