1.9 KiB
1.9 KiB
ImagePusherStatus
Informs about status of the image pusher.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pusher_type | ImagePusherType | [default to ImagePusherType.NONE] | |
| addr | List[str] | List of addresses of image pushers. For HDF5 socket - no addresses will be returned. For ZeroMQ - list of addresses for each socket will be provided. For TCP/IP - single address to connect all writers will be provided. | |
| connected_writers | int | Number of connected writers For ZeroMQ image socket: number is constant For TCP/IP image socket: number is updated live during operation | |
| images_written | int | Number of images written to the image socket. This number is updated live during operation for TCP/IP image socket and direct HDF5 writer. It is updated at the end of experiment for ZeroMQ image socket. | [optional] |
| images_write_error | int | Number of images that could not be written to the image socket. This number is updated live during operation for TCP/IP image socket. No other socket use it. | [optional] |
Example
from jfjoch_client.models.image_pusher_status import ImagePusherStatus
# TODO update the JSON string below
json = "{}"
# create an instance of ImagePusherStatus from a JSON string
image_pusher_status_instance = ImagePusherStatus.from_json(json)
# print the JSON string representation of the object
print(ImagePusherStatus.to_json())
# convert the object into a dict
image_pusher_status_dict = image_pusher_status_instance.to_dict()
# create an instance of ImagePusherStatus from a dict
image_pusher_status_from_dict = ImagePusherStatus.from_dict(image_pusher_status_dict)