NCL Community Forum Index
  Home   Login   Register   Help   Memberlist   Search   NCL  

NCL Community Forum Index » SwiftNote (SMSJDK) Support » Notifying SMS applications of connection errors
Post new topic  Reply to topic View previous topic :: View next topic 
Notifying SMS applications of connection errors
PostPosted: Mon Sep 13, 2004 9:46 am Reply with quote
Administrator
Site Admin
Joined: 11 Aug 2004
Posts: 237




Notifying SMS applications of connection errors

There is a callback in the ie.ncl.msg.Connection (Sender and Receiver) called setErrorListener(ErrorListener listener) that is used for connection error notification.

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.
View user's profile Send private message

PostPosted: Sun Jan 29, 2006 1:22 pm Reply with quote
azizsyr
Joined: 14 Jan 2006
Posts: 2




How can i impement this methods
View user's profile Send private message

Notifying SMS applications of connection errors
 NCL Community Forum Index » SwiftNote (SMSJDK) Support
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
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic