concrete.util.annotate_wrapper module

class concrete.util.annotate_wrapper.AnnotateCommunicationClientWrapper(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.annotate.AnnotateCommunicationService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/latest/lib/python3.7/site-packages/concrete-4.15.2.dev0-py3.7.egg/concrete/annotate/AnnotateCommunicationService.py'>
class concrete.util.annotate_wrapper.AnnotateCommunicationServiceWrapper(implementation)

Bases: concrete.util.service_wrapper.ConcreteServiceWrapper

Parameters:implementation (object) – handler of specified concrete service
concrete_service_class = <module 'concrete.annotate.AnnotateCommunicationService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/latest/lib/python3.7/site-packages/concrete-4.15.2.dev0-py3.7.egg/concrete/annotate/AnnotateCommunicationService.py'>
class concrete.util.annotate_wrapper.HTTPAnnotateCommunicationClientWrapper(uri)

Bases: concrete.util.service_wrapper.HTTPConcreteServiceClientWrapper

Parameters:uri (str) –
concrete_service_class = <module 'concrete.annotate.AnnotateCommunicationService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/latest/lib/python3.7/site-packages/concrete-4.15.2.dev0-py3.7.egg/concrete/annotate/AnnotateCommunicationService.py'>
class concrete.util.annotate_wrapper.SubprocessAnnotateCommunicationServiceWrapper(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 AnnotateCommunicationServiceWrapper