Hi,
I want to know if the sequence number being generated while using SubmitAsync method is unique across multiple binds and sessions?
The application I'm creating will be having more than 50 SmppClient objects, all connected to different servers. Most of the time, many of these clients will be submitting SMS so I'm unsure whether I can rely on the sequence number or not. Also, what happens when the application restarts or the system, where the application is hosted, restarts? Does the sequence number get reset?
Thanks
Is sequence number unique across multiple binds and sessions
Re: Is sequence number unique across multiple binds and sess
Hi murtz,
Sequence Number should be unique during one smpp session.
Internal Sequence Generator is created within SmppClient instance. Sequence number gets reset when you recreate a SmppClient.
You can implement ISequenceGenerator interface with your own solution.
_client = new SmppClient();
_client.SequenceGenerator = myGenerator;
Sequence Number should be unique during one smpp session.
Internal Sequence Generator is created within SmppClient instance. Sequence number gets reset when you recreate a SmppClient.
You can implement ISequenceGenerator interface with your own solution.
_client = new SmppClient();
_client.SequenceGenerator = myGenerator;