1 | <?php |
||
24 | class ReadWriteIoHandler implements IoHandlerInterface |
||
25 | { |
||
26 | /** |
||
27 | * Io handler |
||
28 | * |
||
29 | * @var IoHandlerInterface |
||
30 | */ |
||
31 | private $handler; |
||
32 | |||
33 | /** |
||
34 | * Initialize I/O handler |
||
35 | * |
||
36 | * @param IoHandlerInterface $handler New value for Handler |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | public function setHandler(IoHandlerInterface $handler) |
||
44 | |||
45 | /** |
||
46 | * @inheritDoc |
||
47 | */ |
||
48 | public function supports(OperationInterface $operation) |
||
52 | |||
53 | /** |
||
54 | * @inheritDoc |
||
55 | */ |
||
56 | public function handle( |
||
84 | |||
85 | /** |
||
86 | * Handle read operation |
||
87 | * |
||
88 | * @param OperationInterface $nestedOperation Nested I/O operation |
||
89 | * @param ReadWriteOperation $operation Operation to process |
||
90 | * @param RequestDescriptor $descriptor Request descriptor |
||
91 | * @param RequestExecutorInterface $executor Executor, processing operation |
||
92 | * @param EventHandlerInterface $eventHandler Event handler for this operation |
||
93 | * @param ExecutionContext $executionContext Execution context |
||
94 | * |
||
95 | * @return void |
||
96 | */ |
||
97 | private function handleOperation( |
||
120 | } |
||
121 |