Hey!
Didn't find any information about connection recovery workflow.
To enable connection recovery we set ConnectionRecovery to true.
Will evConnected be raised during recovery?
Will recovery attempt be performed when UnBind received from SMSC?
Do we need to reestablish bind when recovery succeeded?
Thank you!
Connection recovery flow
Re: Connection recovery flow
Connection recovery works only after first successful bind. SmppClient triggers following events by connection recovery:
event evConnected - when connected to the server.
event evRecoverySucceeded - when bind was successful.
event evDisconnected - when bind was failed.
Connection won't be recovered when you call direct the method client.Disconnect() .
Note: if you send Bind in evConnected event handler method, it can cause SmppException when second Bind method is called for already bound client.
event evConnected - when connected to the server.
event evRecoverySucceeded - when bind was successful.
event evDisconnected - when bind was failed.
Connection won't be recovered when you call direct the method client.Disconnect() .
Note: if you send Bind in evConnected event handler method, it can cause SmppException when second Bind method is called for already bound client.