nvflare.fuel.f3.streaming.byte_streamer module¶
- class ByteStreamer(cell: CoreCell)[source]¶
Bases:
object- map_lock = <unlocked _thread.lock object>¶
- send(channel: str, topic: str, target: str, headers: dict, stream: Stream, stream_type='byte', secure=False, optional=False) StreamFuture[source]¶
- sent_stream_counter_pool = <nvflare.fuel.f3.stats_pool.CounterPool object>¶
- sent_stream_size_pool = <nvflare.fuel.f3.stats_pool.HistPool object>¶
- tx_task_map = {}¶
- class TxTask(cell: CoreCell, chunk_size: int, channel: str, topic: str, target: str, headers: dict, stream: Stream, secure: bool, optional: bool)[source]¶
Bases:
StreamTaskSpec- stop(error: StreamError | None = None, notify=True)[source]¶