Transfer Mediums¶
- class softs.ShmMedium[source]¶
- class softs.FilesystemMedium[source]¶
buf_name is the file path.
- class softs.TCPMedium[source]¶
Transfer medium backed by a TCP server.
The owner (client) binds a server socket; its
addressis"host:port". Writers (suppliers)attach(address)and stream(offset, data)frames to the owner, which stores them in its buffer. The owner reads slots from that buffer.- __init__(address, slot_size, num_slots, create=False, host='127.0.0.1', **kwargs)[source]¶
- Parameters:
host (str)