contrib/DocBlox/Parallel/WorkerPipe.php
DocBlox
PHP Version 5
- Author
- Mike van Riel
- Category
- DocBlox
- Copyright
- 2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
- License
- MIT
- Link
- http://docblox-project.org
- Package
- Parallel
\DocBlox_Parallel_WorkerPipe
Package: Parallel
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).
- Author
- Mike van Riel
- Category
- DocBlox
- License
- MIT
- Link
- http://docblox-project.org
Properties
Methods

__construct(
\DocBlox_Parallel_Worker $worker
)
:
voidInitializes the named pipe.
Parameters
| Name | Type | Description |
|---|---|---|
| $worker | \DocBlox_Parallel_Worker | Associated worker. |

readPipeContents(
)
:
arrayReturns the unserialized contents of the pipe.
Returns
| Type | Description |
|---|---|
| array |