code: def xmlrpc_provision(self, app_id, path_to_cert_or_cert, environment, timeout=15):
      
      
      if environment not in ('sandbox', 'production'):
        raise xmlrpc.Fault(401, 'Invalid environment provided `%s`. Valid '
                                'environments are `sandbox` and `production`' % (
                                environment,))
      if not app_id in self.app_ids:
        # log.msg('provisioning ' + app_id + ' environment ' + environment)
        self.app_ids[app_id] = APNSService(path_to_cert_or_cert, environment, timeout)
docs: Starts an APNSService for the this app_id and keeps it running
      
        Arguments:
            app_id                 the app_id to provision for APNS
            path_to_cert_or_cert   absolute path to the APNS SSL cert or a 
                                   string containing the .pem file
            environment            either 'sandbox' or 'production'
            timeout                seconds to timeout connection attempts
                                   to the APNS server
        Returns:
            None