ansys.fluent.core.streaming_services.events_streaming.EventsManager#
- class ansys.fluent.core.streaming_services.events_streaming.EventsManager(session_id, service)#
Manages server-side events.
This class allows the client to register and unregister callbacks with server events.
- Parameters:
- session_id
str
Session ID.
- service
Event streaming service.
- session_id
- Attributes:
events_list
List
[str
]Get a list of supported events.
Methods
__init__
(session_id, service)__init__ method of EventsManager class.
register_callback
([event_name, call_back])Register the callback.
start
()Start streaming of Fluent transcript.
stop
()Stop streaming of Fluent transcript.
unregister_callback
(callback_id)Unregister the callback.
Attributes
events_list
Get a list of supported events.
is_streaming
Checks whether it is streaming.