The sendMessage() is synchronous - your application just waits until the message gets sent (or fails). The queueMessage() is asynchronous - your application gains immediate control after the queueMessage() method call and SMSLib send that message in the background.
On Feb 16, 8:04 am, hershed <[email protected]> wrote: > Hi, > > I want to know the differences for sendMessage() and queueMessage > () functions in SMSLib. Please kindly give usage of both functions > because when I run the "SendMessage" program with srv.sendMessage() > and srv.queueMessage(), the srv.queueMessage() sends the message as > like sendMessage() function. I didn't find any difference in that. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
