parameters: (self)
docstring: This method is called by the reader thread when the reader has
          finished.
docstring_summary: This method is called by the reader thread when the reader has
          finished.
docstring_tokens: This method is called by the reader thread when the reader has finished .
function: def notify_reader_done(self):
          """This method is called by the reader thread when the reader has
          finished.
          """
  
          self._logger.debug(
              'Termiating all logical connections waiting for incoming data '
              '...')
          self._logical_channels_condition.acquire()
          for channel_data in self._logical_channels.values():
              try:
                  channel_data.request.connection.set_read_state(
                      _LogicalConnection.STATE_TERMINATED)
              except Exception:
                  self._logger.debug(traceback.format_exc())
          self._logical_channels_condition.release()
function_tokens: def notify_reader_done ( self ) : self . _logger . debug ( 'Termiating all logical connections waiting for incoming data ' '...' ) self . _logical_channels_condition . acquire ( ) for channel_data in self . _logical_channels . values ( ) : try : channel_data . request . connection . set_read_state ( _LogicalConnection . STATE_TERMINATED ) except Exception : self . _logger . debug ( traceback . format_exc ( ) ) self . _logical_channels_condition . release ( )