◆ __construct()
InfluxDB2\UdpWriter::__construct |
( |
| $options | ) |
|
UdpWriter constructor.
- Parameters
-
- Exceptions
-
Exception
◆ close()
InfluxDB2\UdpWriter::close |
( |
| ) |
|
◆ getSocket()
InfluxDB2\UdpWriter::getSocket |
( |
| ) |
|
|
protected |
Create (if not exists) socket to write UDP datagrams
- Returns
- false|resource
- Exceptions
-
Exception
◆ write()
InfluxDB2\UdpWriter::write |
( |
| $data | ) |
|
◆ writeSocket()
InfluxDB2\UdpWriter::writeSocket |
( |
| $payload | ) |
|
|
protected |
- Parameters
-
- Returns
- false|int
- Exceptions
-
Exception
The documentation for this class was generated from the following file:
- src/InfluxDB2/UdpWriter.php