Submit multiple messages per time

.NET library for SMPP protocol
Locked
gsmart
Posts: 8
Joined: Fri Dec 25, 2015 3:01 am

Submit multiple messages per time

Post by gsmart » Wed Apr 20, 2016 10:34 pm

Dear alt,

I have a List<ISubmitSmBuilder>, i don't want to run for loop to submit each item. How can i submit it once?
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Submit multiple messages per time

Post by alt » Mon Apr 25, 2016 4:11 pm

Hi gsmart,

For now there is no other way. What is wrong with the loop?
gsmart
Posts: 8
Joined: Fri Dec 25, 2015 3:01 am

Re: Submit multiple messages per time

Post by gsmart » Fri Jun 17, 2016 2:05 am

With the loop, it is difficult to control number of message per second, i want the same method like client.Submit(ISubmitMultiBuilder builder);
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Submit multiple messages per time

Post by alt » Fri Jun 17, 2016 6:41 am

Are you controlling number of messages per second because of throttling status from the server?
Library has client.SendSpeedLimit property for this purpose.
Locked