| 1 | <?php |
||
| 18 | class DatagramMemorizedIo extends DatagramClientIo |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Data for this socket |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | private $data; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Constructor |
||
| 29 | * |
||
| 30 | * @param SocketInterface $socket Socket object |
||
| 31 | * @param string $remoteAddress Destination address in form scheme://host:port |
||
| 32 | * @param string $data Datagram for this socket |
||
| 33 | */ |
||
| 34 | 34 | public function __construct(SocketInterface $socket, $remoteAddress, $data) |
|
| 39 | |||
| 40 | /** {@inheritdoc} */ |
||
| 41 | 1 | protected function readRawDataIntoPicker(FramePickerInterface $picker, $isOutOfBand) |
|
| 47 | } |
||
| 48 |