def disconnectAll(self):
        """Disconnect every reader, and writer in the system.
        """
        selectables = self.removeAll()
        for reader in selectables:
            log.callWithLogger(reader,
                               reader.connectionLost,
                               failure.Failure(main.CONNECTION_LOST))
Disconnect every reader, and writer in the system.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/base.py