PHP Class InfluxDb\Driver\UDP

Inheritance: implements InfluxDb\Driver\DriverInterface
Datei anzeigen Open project: influxdb/influxdb-php

Public Methods

Method Description
__construct ( string $host, integer $port )
__destruct ( ) Close the stream (if created)
getParameters ( )
isSuccess ( )
setParameters ( array $parameters )
write ( $data = null )

Protected Methods

Method Description
createStream ( ) Create the resource stream

Method Details

__construct() public method

public __construct ( string $host, integer $port )
$host string IP/hostname of the InfluxDB host
$port integer Port of the InfluxDB process

__destruct() public method

Close the stream (if created)
public __destruct ( )

createStream() protected method

Create the resource stream
protected createStream ( )

getParameters() public method

public getParameters ( )

isSuccess() public method

public isSuccess ( )

setParameters() public method

public setParameters ( array $parameters )
$parameters array

write() public method

public write ( $data = null )