Called when one of the pipes communicating with the child process is closed.
Called when the child process writes data into its stdout or stderr pipe.
Called when the child process has exited.
Called when a connection is made.
Called when the connection is lost or closed.
Called when the transport’s buffer goes over the high-water mark.
Called when the transport’s buffer drains below the low-water mark.
Interface for protocol for subprocess calls.