subscribe_for_push_notifications#
- ansys.optislang.core.tcp.server_commands.subscribe_for_push_notifications(uid: str, notifications: Sequence, node_types: Sequence | None = None, password: str | None = None) str #
Generate JSON string of
subscribe_for_push_notifications
command.- Parameters:
- uid: str
Uid entry.
- notifications: Sequence
- Either [“ALL”] or Sequence picked from below options:
Server: [ “SERVER_UP”, “SERVER_DOWN” ] (always be sent by default). Logging: [ “LOG_INFO”, “LOG_WARNING”, “LOG_ERROR”, “LOG_DEBUG” ]. Project: [ “EXECUTION_STARTED”, “PROCESSING_STARTED”, “EXECUTION_FINISHED”, “NOTHING_PROCESSED”, “CHECK_FAILED”, “EXEC_FAILED” ]. Nodes: [ “ACTOR_STATE_CHANGED”, “ACTOR_ACTIVE_CHANGED”, “ACTOR_NAME_CHANGED”, ACTOR_CONTENTS_CHANGED”, “ACTOR_DATA_CHANGED” ].
- node_types: Optional[Sequence], optional
Node types, e.g. [“Sensitivity”, “AnsysWorkbench”]. By default
None
.- password
Optional
[str
],optional
Password, by default
None
.
- Returns:
str
JSON string of
subscribe_for_push_notifications
command.