code: def read(self):
      "Connect to the feedback service and read all data."
      log.msg('APNSService read (connecting)')
      try:
        server, port = ((FEEDBACK_SERVER_SANDBOX_HOSTNAME 
                        if self.environment == 'sandbox'
                        else FEEDBACK_SERVER_HOSTNAME), FEEDBACK_SERVER_PORT)
        factory = self.feedbackProtocolFactory()
        context = self.getContextFactory()
        reactor.connectSSL(server, port, factory, context)
        factory.deferred.addErrback(log_errback('apns-feedback-read'))
        
        timeout = reactor.callLater(self.timeout,
          lambda: factory.deferred.called or factory.deferred.errback(
            Exception('Feedbcak fetch timed out after %i seconds' % self.timeout)))
        def cancel_timeout(r):
          try: timeout.cancel()
          except: pass
          return r
        
        factory.deferred.addBoth(cancel_timeout)
      except Exception, e:
        log.err('APNService feedback error initializing: %s' % str(e))
        raise
      return factory.deferref read(self):
      "Connect to the feedback service and read all data."
      log.msg('APNSService read (connecting)')
      try:
        server, port = ((FEEDBACK_SERVER_SANDBOX_HOSTNAME 
                        if self.environment == 'sandbox'
                        else FEEDBACK_SERVER_HOSTNAME), FEEDBACK_SERVER_PORT)
        factory = self.feedbackProtocolFactory()
        context = self.getContextFactory()
        reactor.connectSSL(server, port, factory, context)
        factory.deferred.addErrback(log_errback('apns-feedback-read'))
        
        timeout = reactor.callLater(self.timeout,
          lambda: factory.deferred.called or factory.deferred.errback(
            Exception('Feedbcak fetch timed out after %i seconds' % self.timeout)))
        def cancel_timeout(r):
          try: timeout.cancel()
          except: pass
          return r
        
        factory.deferred.addBoth(cancel_timeout)
      except Exception, e:
        log.err('APNService feedback error initializing: %s' % str(e))
        raise
      return factory.deferred
docs: Connect to the feedback service and read all data.