def _setup_pailgun(self):
    # Constructs and returns a runnable PantsRunner.
    def runner_factory(sock, arguments, environment):
      exiter = self._exiter_class(sock)
      return self._runner_class(sock, exiter, arguments, environment)

    return PailgunServer(self._bind_addr, runner_factory)
:param callback: see callback_method in `BlockingConnection.add_timeout`
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/pantsd/service/pailgun_service.py/PailgunService._setup_pailgun--crossover with--dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/_TimerEvt.__init__