Exemplo n.º 1
0
 /** @brief Construct new PaF connector.
  *
  * @param $host [in] server hosting the Antidot Back Office.
  * @param $service [in] antidot service (see @a AfsService).
  * @param $paf_name [in] name of the PaF.
  * @param $authentication [in-out] authentication object (see
  *        @a AfsAuthentication).
  * @param $scheme [in] Scheme for the connection URL see
  *        @ref uri_scheme (default: @a AFS_SCHEME_HTTP).
  *
  * @exception InvalidArgumentException invalid scheme parameter provided.
  */
 public function __construct($host, AfsService $service, $paf_name, AfsAuthentication $authentication, $scheme = AFS_SCHEME_HTTP, SAI_CurlInterface $curlConnector = null)
 {
     parent::__construct($host, $service, $scheme, $curlConnector);
     $this->paf_name = $paf_name;
     $this->authentication = $authentication;
 }
Exemplo n.º 2
0
 public function __construct($host, AfsService $service = null, $scheme = AFS_SCHEME_HTTP, SAI_CurlInterface $curlConnector = null)
 {
     parent::__construct($host, $service, $scheme, $curlConnector);
 }