Parameters: |
|
---|
The Pipe handle provides asynchronous named pipe functionality both as a client and server, supporting cross-process communication and handle sharing.
Parameters: | name (string) – Name of the pipe to bind to. |
---|
Bind to the specified pipe name. The Pipe handle is acting as a server in this case.
Parameters: |
|
---|
Start listening for new connections.
Callback signature: callback(pipe_handle, error).
Parameters: | fd (int) – File descriptor to be opened. |
---|
Open the given file descriptor (or HANDLE in Windows) as a Pipe.
Parameters: | client (object) – Client object where to accept the connection. |
---|
Accept a new incoming connection which was pending. This function needs to be called in the callback given to the listen() function or in the callback given to the start_read2() is there is any pending handle.
Parameters: |
|
---|
Initiate a client connection to the specified named pipe.
Callback signature: callback(pipe_handle, error).
Parameters: | callback (callable) – Callback to be called after shutdown has been performed. |
---|
Shutdown the outgoing (write) direction of the Pipe connection.
Callback signature: callback(pipe_handle, error).
Parameters: |
|
---|
Write data on the Pipe connection.
Callback signature: callback(tcp_handle, error).
Parameters: |
|
---|
Write data on the Pipe connection.
Callback signature: callback(tcp_handle, error).
Parameters: |
|
---|
Write data on the Pipe connection.
Callback signature: callback(pipe_handle, error).
Parameters: | callback (callable) – Callback to be called when data is read from the remote endpoint. |
---|
Start reading for incoming data from the remote endpoint.
Callback signature: callback(pipe_handle, data, error).
Parameters: | callback (callable) – Callback to be called when data is read from the remote endpoint. |
---|
Start reading for incoming data or a handle from the remote endpoint.
Callback signature: callback(pipe_handle, data, pending, error).
Stop reading data from the remote endpoint.
Parameters: | count (int) – Number of pending instances. |
---|
This setting applies to Windows only. Set the number of pending pipe instance handles when the pipe server is waiting for connections.
Read only
Returns the size of the write queue.
Read only
Indicates if this handle is readable.
Read only
Indicates if this handle is writable.