code: synchronized void messagingEngineTerminated(
              final SibRaMessagingEngineConnection connection) {
  
          final String methodName = "messagingEngineTerminated";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName, connection);
          }
  
          if (connection.equals(_remoteConnection)) {
  
              /*
               * We have lost our remote connection, output a warning to the admin
               * console, close the connection and schedule an attempt to create a
               * new one
               */
  
              SibTr.warning(TRACE, "ME_TERMINATED_CWSIV0780", new Object[] {
                      connection.getConnection().getMeName(),
                      _endpointConfiguration.getBusName(), this });
  
              _remoteConnection.close();
              _remoteConnection = null;
              scheduleCreateRemoteListener();
  
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName);
          }
  
      }
docs: Indicates that the messaging engine for the given connection has
  terminated.
  
  @param connection
  the connection