concrete.util.learn_wrapper module

class concrete.util.learn_wrapper.ActiveLearnerClientClientWrapper(host, port)

Bases: concrete.util.service_wrapper.ConcreteServiceClientWrapper

Parameters:
  • host (str) – hostname to connect to
  • port (int) – port number to connect to
concrete_service_class = <module 'concrete.learn.ActiveLearnerClientService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/latest/local/lib/python2.7/site-packages/concrete-4.14.1.dev0-py2.7.egg/concrete/learn/ActiveLearnerClientService.pyc'>
class concrete.util.learn_wrapper.ActiveLearnerClientServiceWrapper(implementation)

Bases: concrete.util.service_wrapper.ConcreteServiceWrapper

Parameters:implementation (object) – handler of specified concrete service
concrete_service_class = <module 'concrete.learn.ActiveLearnerClientService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/latest/local/lib/python2.7/site-packages/concrete-4.14.1.dev0-py2.7.egg/concrete/learn/ActiveLearnerClientService.pyc'>
class concrete.util.learn_wrapper.ActiveLearnerServerClientWrapper(host, port)

Bases: concrete.util.service_wrapper.ConcreteServiceClientWrapper

Parameters:
  • host (str) – hostname to connect to
  • port (int) – port number to connect to
concrete_service_class = <module 'concrete.learn.ActiveLearnerServerService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/latest/local/lib/python2.7/site-packages/concrete-4.14.1.dev0-py2.7.egg/concrete/learn/ActiveLearnerServerService.pyc'>
class concrete.util.learn_wrapper.ActiveLearnerServerServiceWrapper(implementation)

Bases: concrete.util.service_wrapper.ConcreteServiceWrapper

Parameters:implementation (object) – handler of specified concrete service
concrete_service_class = <module 'concrete.learn.ActiveLearnerServerService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/latest/local/lib/python2.7/site-packages/concrete-4.14.1.dev0-py2.7.egg/concrete/learn/ActiveLearnerServerService.pyc'>
class concrete.util.learn_wrapper.SubprocessActiveLearnerClientServiceWrapper(implementation, host, port, timeout=None)

Bases: concrete.util.service_wrapper.SubprocessConcreteServiceWrapper

Parameters:
  • implementation (object) – handler of specified concrete service
  • host (str) – hostname that will be served on when context is entered
  • port (int) – port number that will be served on when context is entered
  • timeout (int) – number of seconds to wait for server to start in subprocess, when context is entered (if None, wait forever)
concrete_service_wrapper_class

alias of ActiveLearnerClientServiceWrapper

class concrete.util.learn_wrapper.SubprocessActiveLearnerServerServiceWrapper(implementation, host, port, timeout=None)

Bases: concrete.util.service_wrapper.SubprocessConcreteServiceWrapper

Parameters:
  • implementation (object) – handler of specified concrete service
  • host (str) – hostname that will be served on when context is entered
  • port (int) – port number that will be served on when context is entered
  • timeout (int) – number of seconds to wait for server to start in subprocess, when context is entered (if None, wait forever)
concrete_service_wrapper_class

alias of ActiveLearnerServerServiceWrapper