Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/c/i/ciel-HEAD/src/python/ciel/runtime/worker/master_proxy.py   ciel(Download)
import socket
import httplib2
from ciel.runtime.pycurl_rpc import post_string, post_string_noreturn, get_string
from threading import Event
 
            if method == "POST":
                if need_result:
                    content = post_string(url, payload)
                else:
                    if callback is None:
                    if method == "POST":
                        if need_result or num_attempts > 1:
                            content = post_string(url, payload)
                        else:
                            if callback is None:

src/c/i/ciel-HEAD/src/python/ciel/runtime/worker/process_pool.py   ciel(Download)
import pickle
import threading
from ciel.runtime.pycurl_rpc import post_string
from ciel.runtime.block_store import is_ref_local
from ciel.public.io_helpers import write_framed_json
        try:
            message = simplejson.dumps(root_task_descriptor, cls=SWReferenceJSONEncoder)
            content = post_string(master_task_submit_uri, message)
        except Exception, e:
            ciel.log('Network error submitting process job to master', 'PROCESSPOOL', logging.WARN)

src/c/i/ciel-HEAD/src/python/ciel/runtime/master/__init__.py   ciel(Download)
from ciel.runtime.master.worker_pool import WorkerPool
from ciel.runtime.task_executor import TaskExecutorPlugin
from ciel.runtime.pycurl_rpc import post_string
from ciel.runtime.pycurl_thread import create_pycurl_thread
import cherrypy