'Begin processing data from the socket.'

def run(self):

    self._keepGoing = True
    while self._keepGoing:
        try:
            self.process_input()
        except EOFError:
            break
        except (select.error, socket.error) as e:
            if (e[0] == errno.EBADF):
                break
            raise
    self._cleanupSocket()
