nvflare.fuel.utils.pipe.memory_pipe module¶
- class MemoryPipe(token: str, mode: Mode = Mode.ACTIVE)[source]¶
Bases:
Pipe
Creates the pipe.
- Parameters:
mode (Mode) – Mode of the endpoint. A pipe has two endpoints. An endpoint can be either the one that initiates communication or the one listening.
- LOCK = <unlocked _thread.lock object>¶
- PIPE_PAIRS = {}¶