jina.types.message.common¶
-
class
jina.types.message.common.
ControlMessage
(command, pod_name='ctl', identity='', *args, **kwargs)[source]¶ Bases:
jina.types.message.Message
Class of the protobuf message.
- Parameters
command (
str
) – Command with string content. (e.g. ‘IDLE’, ‘CANCEL’, ‘TERMINATE’, ‘STATUS’)pod_name (
str
) – Name of the current pod.identity (
str
) – The identity of the current podargs – Additional positional arguments which are just used for the parent initialization
kwargs – Additional keyword arguments which are just used for the parent initialization