protocols¶
- class AsyncProcessProtocol¶
Bases:
asyncio.protocols.SubprocessProtocol
,supriya.realtime.protocols.ProcessProtocol
- async boot(options, scsynth_path, port)¶
- connection_made(transport)¶
Called when a connection is made.
The argument is the transport representing the pipe connection. To receive data, wait for data_received() calls. When the connection is closed, connection_lost() is called.
- pipe_data_received(fd, data)¶
Called when the subprocess writes data into stdout/stderr pipe.
fd is int file descriptor. data is bytes object.
- process_exited()¶
Called when subprocess has exited.
- quit()¶
- class SyncProcessProtocol¶
Bases:
supriya.realtime.protocols.ProcessProtocol
- boot(options, scsynth_path, port)¶
- quit()¶