A good design practice is to code the connector application-specific code so that it shuts down whenever the connection to the application is lost. To respond to a lost connection, the connector's application-specific component should take the following steps:
The following user-implemented abstract methods should check for a loss of connection to the application: