$configuration
$configuration : \FACTFinder\Core\ConfigurationInterface
Data providers take care of retrieving pre-configured requests with FACT-Finder data, including the network connection if necessary.
$configuration : \FACTFinder\Core\ConfigurationInterface
$connectionData : array<mixed,\FACTFinder\Core\Server\ConnectionData>
$log : \FACTFinder\Util\LoggerInterface
__construct( $loggerClass, \FACTFinder\Core\ConfigurationInterface $configuration)
| $loggerClass | ||
| \FACTFinder\Core\ConfigurationInterface | $configuration |
register(\FACTFinder\Core\Server\ConnectionData $connectionData)
Make a connection data object known to the data provider and obtain an ID for it (basically, a handle).
| \FACTFinder\Core\Server\ConnectionData | $connectionData | The connection data object to be registered. |
if the $id is already in use.
setConnectTimeout(mixed $id, integer $timeout)
Set the number of seconds to wait while trying to connect. Any particular implementation of this abstract class is free to ignore this timeout, but it should respect it if the underlying connection mechanism allows.
| mixed | $id | The ID of the connection data for which to set the timeout. |
| integer | $timeout | The timeout in seconds. |
setTimeout(mixed $id, integer $timeout)
Set the number of seconds to wait for the entire request to complete. Any particular implementation of this abstract class is free to ignore this timeout, but it should respect it if the underlying connection mechanism allows.
| mixed | $id | The ID of the connection data for which to set the timeout. |
| integer | $timeout | The timeout in seconds. |