BayEOS-PHP
 All Data Structures Namespaces Files Functions Variables Pages
Public Member Functions
BayEOSSender Class Reference

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 ()
 

Detailed Description

Definition at line 581 of file BayEOSGatewayClient.php.

Constructor & Destructor Documentation

__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

Parameters
string$pathPath where BayEOSWriter puts files
string$nameSender name
string$urlGatewayURL e.g. http://<gateway>/gateway/frame/saveFlat
string$pwPassword on gateway
string$userUser on gateway
bool$absolute_timeif set to false, relative time is used (delay)
bool$rmIf set to false files are kept as .bak file in the BayEOSWriter directory
int$sleep_timesleep_time of the sender when run as thread

Definition at line 602 of file BayEOSGatewayClient.php.

Member Function Documentation

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

Returns
int number of post requests...

Definition at line 625 of file BayEOSGatewayClient.php.


The documentation for this class was generated from the following file: