The callback is called when the connection is lost. The callback will contain a ConnectionException containing the reason why the connection was lost.
If configured to do so, SwiftNote will attempt to reconnect the underlying TCP/IP connection transparently when the connection goes down, and in such a case the application is not informed of the temporary connection loss between connection retries.
In SMPP there is a configurable parameter notifyApplicationOfTempErrors that can be used to notify the application of temporary connection loss while it is retrying. When this is used, a ReconnectException (extends ConnectionException) is passed back to the error listener callback when the connection goes down and when it comes back up. This contains a field for checking the connection state.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum