BatchMonitor use

.NET library for SMPP protocol
Locked
balagi72
Posts: 1
Joined: Tue Nov 19, 2013 11:52 am

BatchMonitor use

Post by balagi72 » Tue Nov 19, 2013 12:00 pm

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.
kate
Posts: 1
Joined: Fri Nov 29, 2013 4:50 am

Re: BatchMonitor use

Post by kate » Fri Nov 29, 2013 5:02 am

but in this component you don't allow to use another coding and must use DataCodings struct
Whether you want to pass [url=http://www.test-king.com/exams/1Y0-A22.htm]1Y0-A22 exam[/url] or looking for [url=http://www.test-king.com/exams/350-080.htm]Testking[/url] certification, our [url=http://www.bfit.edu/]bfit[/url] can provide guaranteed success in real exam of [url=http://www.sckans.edu/]www.sckans.edu[/url] ccna
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: BatchMonitor use

Post by alt » Thu Dec 05, 2013 7:04 pm

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.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: BatchMonitor use

Post by alt » Thu Dec 05, 2013 7:05 pm

kate,

you are always able to specify any data coding

submitSm.DataCoding = (DataCodings) 25;
Locked