def fileno(self):
        if not self.gearman_socket:
            self.throw_exception(message='no socket set')

        return self.gearman_socket.fileno()
Implements fileno() for use with select.select()
dataset/ETHPy150Open YelpArchive/python-gearman/gearman/connection.py/GearmanConnection.fileno