Public Member Functions | |
__construct ($path, $name, $url, $pw='import', $user='import', $absolute_time=TRUE, $rm=TRUE, $gateway_version='1.9', $sleep_time=10) | |
send () | |
run () | |
Definition at line 581 of file BayEOSGatewayClient.php.
__construct | ( | $path, | |
$name, | |||
$url, | |||
$pw = 'import' , |
|||
$user = 'import' , |
|||
$absolute_time = TRUE , |
|||
$rm = TRUE , |
|||
$gateway_version = '1.9' , |
|||
$sleep_time = 10 |
|||
) |
Constructor for a BayEOS-Sender
string | $path | Path where BayEOSWriter puts files |
string | $name | Sender name |
string | $url | GatewayURL e.g. http://<gateway>/gateway/frame/saveFlat |
string | $pw | Password on gateway |
string | $user | User on gateway |
bool | $absolute_time | if set to false, relative time is used (delay) |
bool | $rm | If set to false files are kept as .bak file in the BayEOSWriter directory |
int | $sleep_time | sleep_time of the sender when run as thread |
Definition at line 602 of file BayEOSGatewayClient.php.
run | ( | ) |
the run method when called as thread
Definition at line 750 of file BayEOSGatewayClient.php.
send | ( | ) |
Keeps sending as long as all files are send or an error occures
Definition at line 625 of file BayEOSGatewayClient.php.