Class that represents a named pipe for a Worker.

This class manages the named pipe for a worker and is able to push and pull specific data to facilitate IPC (interprocess communication).

category | DocBlox
package | Parallel
author | Mike van Riel
license | MIT
link | http://docblox-project.org

### Methods

## Initializes the named pipe.

    __construct(\DocBlox_Parallel_Worker $worker)

### Parameters

#### $worker

`\DocBlox_Parallel_Worker`

Associated worker.

## If the named pipe was not cleaned up, do so now.

    __destruct()

## Pull the worker data into the named pipe.

    pull() : void

## Push the worker data back onto the worker and release the pipe.

    push() : void

## Returns the unserialized contents of the pipe.

    readPipeContents() : array

### Returns

`array`

## Releases the pipe.

    release() : void

## Convenience method to show relation to readPipeContents.

    writePipeContents() : void

### Properties

## Path to the pipe

    $path : string

## worker class that is associated

    $worker : \DocBlox_Parallel_Worker