1.3 KiB
1.3 KiB
TcpSettings
TCP image stream configuration for Jungfraujoch software. This structure is used to provide default settings using configuration JSON file and is not used in HTTP.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| send_buffer_size | int | Send buffer size for TCP/IP socket | [optional] |
| addr | str | tcp://<IP address>:<port> 0.0.0.0 instead of IP address is accepted and means listening on all network interfaces | |
| nwriters | int | Number of TCP/IP writers to be used for streaming images | [optional] [default to 1] |
Example
from jfjoch_client.models.tcp_settings import TcpSettings
# TODO update the JSON string below
json = "{}"
# create an instance of TcpSettings from a JSON string
tcp_settings_instance = TcpSettings.from_json(json)
# print the JSON string representation of the object
print(TcpSettings.to_json())
# convert the object into a dict
tcp_settings_dict = tcp_settings_instance.to_dict()
# create an instance of TcpSettings from a dict
tcp_settings_from_dict = TcpSettings.from_dict(tcp_settings_dict)