jina.types.message.common module

class jina.types.message.common.ControlMessage(command, pod_name='', 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, to represent routes only.

  • identity (str) – The identity of the current pod

  • args – Additional positional arguments which are just used for the parent initialization

  • kwargs – Additional keyword arguments which are just used for the parent initialization