streaming#
Provides a module for streaming services.
Classes:
|
Encapsulates a CFX streaming service. |
- class ansys.cfx.core.streaming_services.streaming.StreamingService(stream_begin_method, target, streaming_service)#
Bases:
objectEncapsulates a CFX streaming service.
Methods:
__init__(stream_begin_method, target, ...)Initialize an instance of the
StreamingServiceclass.register_callback(callback, *args, **kwargs)Register the callback.
start(*args, **kwargs)Start streaming.
stop()Stop streaming.
unregister_callback(callback_id)Unregister the callback.
Attributes:
Flag indicating if streaming.
- __init__(stream_begin_method, target, streaming_service)#
Initialize an instance of the
StreamingServiceclass.
- property is_streaming#
Flag indicating if streaming.