3
* Spring Signage Ltd - http://www.springsignage.com
4
* Copyright (C) 2016 Spring Signage Ltd
8
namespace Xibo\Tests\Xmds;
12
* @package Xibo\Tests\Xmds
23
function __construct($URL = "http://localhost/xmds.php", $KEY="test", $version='5')
27
$this->version = $version;
29
ini_set('soap.wsdl_cache_enabled', 0);
30
ini_set('soap.wsdl_cache_ttl', 900);
31
ini_set('default_socket_timeout', 15);
34
'uri'=>'http://schemas.xmlsoap.org/soap/envelope/',
37
'soap_version'=>SOAP_1_1,
38
'cache_wsdl'=>WSDL_CACHE_NONE,
39
'connection_timeout'=>15,
45
$this->client = new \SoapClient($this->URL . '?wsdl&v=' . $this->version, $options);
48
function RegisterDisplay($hardwareKey, $displayName, $clientType='windows', $clientVersion='', $clientCode='', $operatingSystem='', $macAddress='', $xmrChannel='', $xmrPubKey='')
50
$response = $this->client->RegisterDisplay($this->KEY,
63
function RequiredFiles($hardwareKey)
65
$response = $this->client->RequiredFiles($this->KEY,
75
function Schedule($hardwareKey)
77
$response = $this->client->Schedule($this->KEY,
92
function SubmitStats()
97
function MediaInventory()
103
* @param string $hardwareKey
104
* @param int $layoutId
105
* @param int $regionId
106
* @param string $mediaId
109
function GetResource($hardwareKey, $layoutId, $regionId, $mediaId)
111
return $this->client->GetResource($this->KEY, $hardwareKey, $layoutId, $regionId, $mediaId);
114
function NotifyStatus()
119
function SubmitScreenShot()
b'\\ No newline at end of file'