You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

683 lines
45 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __ONVIF_SERVER_DEVICE__
  2. #define __ONVIF_SERVER_DEVICE__
  3. #include <string>
  4. #include <map>
  5. #include <iostream>
  6. #include <list>
  7. #include "soapStub.h"
  8. #include "soapDeviceBindingService.h"
  9. #include "wsseapi.h"
  10. using namespace std;
  11. class OnvifServerDevice : public DeviceBindingService
  12. {
  13. public:
  14. OnvifServerDevice(struct soap * pData, string strDeviceEndpoint,
  15. string strMediaEndpoint, string strReceiverEndpoint,
  16. string strEventEndpoint);
  17. ~OnvifServerDevice();
  18. public:
  19. virtual DeviceBindingService *copy()
  20. {
  21. return NULL;
  22. }
  23. /// Web service operation 'GetServices' (returns error code or SOAP_OK)
  24. virtual int GetServices(_tds__GetServices *tds__GetServices, _tds__GetServicesResponse *tds__GetServicesResponse)
  25. {
  26. {
  27. tt__OnvifVersion *version = soap_new_tt__OnvifVersion(m_pSoap, 1);
  28. version->Major = 2;
  29. version->Minor = 4;
  30. tds__Service *service = soap_new_tds__Service(m_pSoap, 1);
  31. service->XAddr = m_strDeviceEndpoint;
  32. service->Namespace = "http://www.onvif.org/ver10/device/wsdl";
  33. service->Version = version;
  34. tds__GetServicesResponse->Service.push_back(service);
  35. }
  36. {
  37. tt__OnvifVersion *version = soap_new_tt__OnvifVersion(m_pSoap, 1);
  38. version->Major = 2;
  39. version->Minor = 4;
  40. tds__Service *service = soap_new_tds__Service(m_pSoap, 1);
  41. service->XAddr = m_strEventEndpoint;
  42. service->Namespace = "http://www.onvif.org/ver10/media/wsdl";
  43. service->Version = version;
  44. tds__GetServicesResponse->Service.push_back(service);
  45. }
  46. {
  47. tt__OnvifVersion *version = soap_new_tt__OnvifVersion(m_pSoap, 1);
  48. version->Major = 2;
  49. version->Minor = 4;
  50. tds__Service *service = soap_new_tds__Service(m_pSoap, 1);
  51. service->XAddr = m_strReceiverEndpoint;
  52. service->Namespace = "http://www.onvif.org/ver10/receiver/wsdl";
  53. service->Version = version;
  54. tds__GetServicesResponse->Service.push_back(service);
  55. }
  56. {
  57. tt__OnvifVersion *version = soap_new_tt__OnvifVersion(m_pSoap, 1);
  58. version->Major = 2;
  59. version->Minor = 4;
  60. tds__Service *service = soap_new_tds__Service(m_pSoap, 1);
  61. service->XAddr = m_strEventEndpoint;
  62. service->Namespace = "http://www.onvif.org/ver10/events/wsdl";
  63. service->Version = version;
  64. tds__GetServicesResponse->Service.push_back(service);
  65. }
  66. return SOAP_OK;
  67. };
  68. /// Web service operation 'GetServiceCapabilities' (returns error code or SOAP_OK)
  69. virtual int GetServiceCapabilities(_tds__GetServiceCapabilities *tds__GetServiceCapabilities, _tds__GetServiceCapabilitiesResponse *tds__GetServiceCapabilitiesResponse)
  70. {
  71. return SOAP_OK;
  72. };
  73. /// Web service operation 'GetDeviceInformation' (returns error code or SOAP_OK)
  74. virtual int GetDeviceInformation(_tds__GetDeviceInformation *tds__GetDeviceInformation, _tds__GetDeviceInformationResponse *tds__GetDeviceInformationResponse)
  75. {
  76. tds__GetDeviceInformationResponse->Manufacturer = "OpenCVR";
  77. tds__GetDeviceInformationResponse->Model = "OpenCVR";
  78. tds__GetDeviceInformationResponse->FirmwareVersion = "OpenCVR";
  79. tds__GetDeviceInformationResponse->SerialNumber = "00:00:00:00:00:01";
  80. tds__GetDeviceInformationResponse->HardwareId = "001200123";
  81. return SOAP_OK;
  82. };
  83. /// Web service operation 'SetSystemDateAndTime' (returns error code or SOAP_OK)
  84. virtual int SetSystemDateAndTime(_tds__SetSystemDateAndTime *tds__SetSystemDateAndTime, _tds__SetSystemDateAndTimeResponse *tds__SetSystemDateAndTimeResponse)
  85. {
  86. printf("SetSystemDateAndTime=========\n");
  87. return SOAP_OK;
  88. }
  89. /// Web service operation 'GetSystemDateAndTime' (returns error code or SOAP_OK)
  90. virtual int GetSystemDateAndTime(_tds__GetSystemDateAndTime *tds__GetSystemDateAndTime, _tds__GetSystemDateAndTimeResponse *tds__GetSystemDateAndTimeResponse)
  91. {
  92. time_t t = time(NULL);
  93. struct tm * now = localtime( &t );
  94. printf("GetSystemDateAndTime=========\n");
  95. tt__SystemDateTime* SystemDateAndTime = soap_new_tt__SystemDateTime(m_pSoap, 1);
  96. SystemDateAndTime->DateTimeType = tt__SetDateTimeType__Manual;
  97. //SystemDateAndTime->DaylightSavings
  98. tt__DateTime* UTCDateTime = soap_new_tt__DateTime(m_pSoap, 1); //new tt__DateTime;
  99. tt__Date* UTCDate = soap_new_tt__Date(m_pSoap, 1);
  100. UTCDateTime->Date = UTCDate;
  101. tt__Time* UTCTime = soap_new_tt__Time(m_pSoap, 1);
  102. UTCDateTime->Time = UTCTime;
  103. SystemDateAndTime->UTCDateTime = UTCDateTime;
  104. SystemDateAndTime->UTCDateTime->Date->Year = now->tm_year + 1900;
  105. SystemDateAndTime->UTCDateTime->Date->Month = now->tm_mon + 1;
  106. SystemDateAndTime->UTCDateTime->Date->Day = now->tm_mday;
  107. SystemDateAndTime->UTCDateTime->Time->Hour = now->tm_hour;
  108. SystemDateAndTime->UTCDateTime->Time->Minute = now->tm_min;
  109. SystemDateAndTime->UTCDateTime->Time->Second = now->tm_sec;
  110. tds__GetSystemDateAndTimeResponse->SystemDateAndTime = SystemDateAndTime;
  111. return SOAP_OK;
  112. }
  113. /// Web service operation 'SetSystemFactoryDefault' (returns error code or SOAP_OK)
  114. virtual int SetSystemFactoryDefault(_tds__SetSystemFactoryDefault *tds__SetSystemFactoryDefault, _tds__SetSystemFactoryDefaultResponse *tds__SetSystemFactoryDefaultResponse) {return SOAP_OK;};
  115. /// Web service operation 'UpgradeSystemFirmware' (returns error code or SOAP_OK)
  116. virtual int UpgradeSystemFirmware(_tds__UpgradeSystemFirmware *tds__UpgradeSystemFirmware, _tds__UpgradeSystemFirmwareResponse *tds__UpgradeSystemFirmwareResponse) {return SOAP_OK;};
  117. /// Web service operation 'SystemReboot' (returns error code or SOAP_OK)
  118. virtual int SystemReboot(_tds__SystemReboot *tds__SystemReboot, _tds__SystemRebootResponse *tds__SystemRebootResponse) {return SOAP_OK;};
  119. /// Web service operation 'RestoreSystem' (returns error code or SOAP_OK)
  120. virtual int RestoreSystem(_tds__RestoreSystem *tds__RestoreSystem, _tds__RestoreSystemResponse *tds__RestoreSystemResponse) {return SOAP_OK;};
  121. /// Web service operation 'GetSystemBackup' (returns error code or SOAP_OK)
  122. virtual int GetSystemBackup(_tds__GetSystemBackup *tds__GetSystemBackup, _tds__GetSystemBackupResponse *tds__GetSystemBackupResponse) {return SOAP_OK;};
  123. /// Web service operation 'GetSystemLog' (returns error code or SOAP_OK)
  124. virtual int GetSystemLog(_tds__GetSystemLog *tds__GetSystemLog, _tds__GetSystemLogResponse *tds__GetSystemLogResponse) {return SOAP_OK;};
  125. /// Web service operation 'GetSystemSupportInformation' (returns error code or SOAP_OK)
  126. virtual int GetSystemSupportInformation(_tds__GetSystemSupportInformation *tds__GetSystemSupportInformation, _tds__GetSystemSupportInformationResponse *tds__GetSystemSupportInformationResponse) {return SOAP_OK;};
  127. /// Web service operation 'GetScopes' (returns error code or SOAP_OK)
  128. virtual int GetScopes(_tds__GetScopes *tds__GetScopes, _tds__GetScopesResponse *tds__GetScopesResponse)
  129. {
  130. for( std::vector<std::string>::const_iterator it = m_strScopes.begin();
  131. it != m_strScopes.end(); ++it )
  132. {
  133. tds__GetScopesResponse->Scopes.push_back( soap_new_tt__Scope(m_pSoap) );
  134. tds__GetScopesResponse->Scopes.back()->ScopeDef = tt__ScopeDefinition__Fixed;
  135. tds__GetScopesResponse->Scopes.back()->ScopeItem = *it;
  136. }
  137. return SOAP_OK;
  138. };
  139. /// Web service operation 'SetScopes' (returns error code or SOAP_OK)
  140. virtual int SetScopes(_tds__SetScopes *tds__SetScopes, _tds__SetScopesResponse *tds__SetScopesResponse) {return SOAP_OK;};
  141. /// Web service operation 'AddScopes' (returns error code or SOAP_OK)
  142. virtual int AddScopes(_tds__AddScopes *tds__AddScopes, _tds__AddScopesResponse *tds__AddScopesResponse) {return SOAP_OK;};
  143. /// Web service operation 'RemoveScopes' (returns error code or SOAP_OK)
  144. virtual int RemoveScopes(_tds__RemoveScopes *tds__RemoveScopes, _tds__RemoveScopesResponse *tds__RemoveScopesResponse) {return SOAP_OK;};
  145. /// Web service operation 'GetDiscoveryMode' (returns error code or SOAP_OK)
  146. virtual int GetDiscoveryMode(_tds__GetDiscoveryMode *tds__GetDiscoveryMode, _tds__GetDiscoveryModeResponse *tds__GetDiscoveryModeResponse) {return SOAP_OK;};
  147. /// Web service operation 'SetDiscoveryMode' (returns error code or SOAP_OK)
  148. virtual int SetDiscoveryMode(_tds__SetDiscoveryMode *tds__SetDiscoveryMode, _tds__SetDiscoveryModeResponse *tds__SetDiscoveryModeResponse) {return SOAP_OK;};
  149. /// Web service operation 'GetRemoteDiscoveryMode' (returns error code or SOAP_OK)
  150. virtual int GetRemoteDiscoveryMode(_tds__GetRemoteDiscoveryMode *tds__GetRemoteDiscoveryMode, _tds__GetRemoteDiscoveryModeResponse *tds__GetRemoteDiscoveryModeResponse) {return SOAP_OK;};
  151. /// Web service operation 'SetRemoteDiscoveryMode' (returns error code or SOAP_OK)
  152. virtual int SetRemoteDiscoveryMode(_tds__SetRemoteDiscoveryMode *tds__SetRemoteDiscoveryMode, _tds__SetRemoteDiscoveryModeResponse *tds__SetRemoteDiscoveryModeResponse) {return SOAP_OK;};
  153. /// Web service operation 'GetDPAddresses' (returns error code or SOAP_OK)
  154. virtual int GetDPAddresses(_tds__GetDPAddresses *tds__GetDPAddresses, _tds__GetDPAddressesResponse *tds__GetDPAddressesResponse) {return SOAP_OK;};
  155. /// Web service operation 'GetEndpointReference' (returns error code or SOAP_OK)
  156. virtual int GetEndpointReference(_tds__GetEndpointReference *tds__GetEndpointReference, _tds__GetEndpointReferenceResponse *tds__GetEndpointReferenceResponse) {return SOAP_OK;};
  157. /// Web service operation 'GetRemoteUser' (returns error code or SOAP_OK)
  158. virtual int GetRemoteUser(_tds__GetRemoteUser *tds__GetRemoteUser, _tds__GetRemoteUserResponse *tds__GetRemoteUserResponse) {return SOAP_OK;};
  159. /// Web service operation 'SetRemoteUser' (returns error code or SOAP_OK)
  160. virtual int SetRemoteUser(_tds__SetRemoteUser *tds__SetRemoteUser, _tds__SetRemoteUserResponse *tds__SetRemoteUserResponse) {return SOAP_OK;};
  161. /// Web service operation 'GetUsers' (returns error code or SOAP_OK)
  162. virtual int GetUsers(_tds__GetUsers *tds__GetUsers, _tds__GetUsersResponse *tds__GetUsersResponse) {return SOAP_OK;};
  163. /// Web service operation 'CreateUsers' (returns error code or SOAP_OK)
  164. virtual int CreateUsers(_tds__CreateUsers *tds__CreateUsers, _tds__CreateUsersResponse *tds__CreateUsersResponse) {return SOAP_OK;};
  165. /// Web service operation 'DeleteUsers' (returns error code or SOAP_OK)
  166. virtual int DeleteUsers(_tds__DeleteUsers *tds__DeleteUsers, _tds__DeleteUsersResponse *tds__DeleteUsersResponse) {return SOAP_OK;};
  167. /// Web service operation 'SetUser' (returns error code or SOAP_OK)
  168. virtual int SetUser(_tds__SetUser *tds__SetUser, _tds__SetUserResponse *tds__SetUserResponse) {return SOAP_OK;};
  169. /// Web service operation 'GetWsdlUrl' (returns error code or SOAP_OK)
  170. virtual int GetWsdlUrl(_tds__GetWsdlUrl *tds__GetWsdlUrl, _tds__GetWsdlUrlResponse *tds__GetWsdlUrlResponse) {return SOAP_OK;};
  171. /// Web service operation 'GetCapabilities' (returns error code or SOAP_OK)
  172. virtual int GetCapabilities(_tds__GetCapabilities *tds__GetCapabilities, _tds__GetCapabilitiesResponse *tds__GetCapabilitiesResponse)
  173. {
  174. static bool RTPMulticast_ = false;
  175. static bool RTP_USCORETCP_ = true;
  176. static bool RTP_USCORERTSP_USCORETCP_ = true;
  177. tt__Capabilities *Capabilities = soap_new_tt__Capabilities(m_pSoap, 1);
  178. tt__CapabilitiesExtension *Extension = soap_new_tt__CapabilitiesExtension(m_pSoap, 1);
  179. tt__ReceiverCapabilities *Receiver = soap_new_tt__ReceiverCapabilities(m_pSoap, 1);
  180. tt__DeviceCapabilities *Device = soap_new_tt__DeviceCapabilities(m_pSoap, 1);
  181. tt__EventCapabilities *Events = soap_new_tt__EventCapabilities(m_pSoap, 1);
  182. tt__MediaCapabilities *Media = soap_new_tt__MediaCapabilities(m_pSoap, 1);
  183. tt__RealTimeStreamingCapabilities *StreamingCap =
  184. soap_new_tt__RealTimeStreamingCapabilities(m_pSoap, 1);
  185. StreamingCap->RTPMulticast = &RTPMulticast_;
  186. StreamingCap->RTP_USCORETCP = &RTP_USCORETCP_;
  187. StreamingCap->RTP_USCORERTSP_USCORETCP = &RTP_USCORERTSP_USCORETCP_;
  188. Events->XAddr = m_strEventEndpoint;
  189. Events->WSSubscriptionPolicySupport = false;
  190. Events->WSPausableSubscriptionManagerInterfaceSupport = false;
  191. Events->WSPullPointSupport = false;
  192. Receiver->XAddr = m_strReceiverEndpoint;
  193. Media->XAddr = m_strMediaEndpoint;
  194. Media->StreamingCapabilities = StreamingCap;
  195. Capabilities->Extension = Extension;
  196. Capabilities->Device = Device;
  197. Capabilities->Events = Events;
  198. Capabilities->Media = Media;
  199. Extension->Receiver = Receiver;
  200. tds__GetCapabilitiesResponse->Capabilities = Capabilities;
  201. return SOAP_OK;
  202. };
  203. /// Web service operation 'SetDPAddresses' (returns error code or SOAP_OK)
  204. virtual int SetDPAddresses(_tds__SetDPAddresses *tds__SetDPAddresses, _tds__SetDPAddressesResponse *tds__SetDPAddressesResponse) {return SOAP_OK;};
  205. /// Web service operation 'GetHostname' (returns error code or SOAP_OK)
  206. virtual int GetHostname(_tds__GetHostname *tds__GetHostname, _tds__GetHostnameResponse *tds__GetHostnameResponse) {return SOAP_OK;};
  207. /// Web service operation 'SetHostname' (returns error code or SOAP_OK)
  208. virtual int SetHostname(_tds__SetHostname *tds__SetHostname, _tds__SetHostnameResponse *tds__SetHostnameResponse) {return SOAP_OK;};
  209. /// Web service operation 'SetHostnameFromDHCP' (returns error code or SOAP_OK)
  210. virtual int SetHostnameFromDHCP(_tds__SetHostnameFromDHCP *tds__SetHostnameFromDHCP, _tds__SetHostnameFromDHCPResponse *tds__SetHostnameFromDHCPResponse) {return SOAP_OK;};
  211. /// Web service operation 'GetDNS' (returns error code or SOAP_OK)
  212. virtual int GetDNS(_tds__GetDNS *tds__GetDNS, _tds__GetDNSResponse *tds__GetDNSResponse) {return SOAP_OK;};
  213. /// Web service operation 'SetDNS' (returns error code or SOAP_OK)
  214. virtual int SetDNS(_tds__SetDNS *tds__SetDNS, _tds__SetDNSResponse *tds__SetDNSResponse) {return SOAP_OK;};
  215. /// Web service operation 'GetNTP' (returns error code or SOAP_OK)
  216. virtual int GetNTP(_tds__GetNTP *tds__GetNTP, _tds__GetNTPResponse *tds__GetNTPResponse) {return SOAP_OK;};
  217. /// Web service operation 'SetNTP' (returns error code or SOAP_OK)
  218. virtual int SetNTP(_tds__SetNTP *tds__SetNTP, _tds__SetNTPResponse *tds__SetNTPResponse) {return SOAP_OK;};
  219. /// Web service operation 'GetDynamicDNS' (returns error code or SOAP_OK)
  220. virtual int GetDynamicDNS(_tds__GetDynamicDNS *tds__GetDynamicDNS, _tds__GetDynamicDNSResponse *tds__GetDynamicDNSResponse) {return SOAP_OK;};
  221. /// Web service operation 'SetDynamicDNS' (returns error code or SOAP_OK)
  222. virtual int SetDynamicDNS(_tds__SetDynamicDNS *tds__SetDynamicDNS, _tds__SetDynamicDNSResponse *tds__SetDynamicDNSResponse) {return SOAP_OK;};
  223. /// Web service operation 'GetNetworkInterfaces' (returns error code or SOAP_OK)
  224. virtual int GetNetworkInterfaces(_tds__GetNetworkInterfaces *tds__GetNetworkInterfaces, _tds__GetNetworkInterfacesResponse *tds__GetNetworkInterfacesResponse) {return SOAP_OK;};
  225. /// Web service operation 'SetNetworkInterfaces' (returns error code or SOAP_OK)
  226. virtual int SetNetworkInterfaces(_tds__SetNetworkInterfaces *tds__SetNetworkInterfaces, _tds__SetNetworkInterfacesResponse *tds__SetNetworkInterfacesResponse) {return SOAP_OK;};
  227. /// Web service operation 'GetNetworkProtocols' (returns error code or SOAP_OK)
  228. virtual int GetNetworkProtocols(_tds__GetNetworkProtocols *tds__GetNetworkProtocols, _tds__GetNetworkProtocolsResponse *tds__GetNetworkProtocolsResponse) {return SOAP_OK;};
  229. /// Web service operation 'SetNetworkProtocols' (returns error code or SOAP_OK)
  230. virtual int SetNetworkProtocols(_tds__SetNetworkProtocols *tds__SetNetworkProtocols, _tds__SetNetworkProtocolsResponse *tds__SetNetworkProtocolsResponse) {return SOAP_OK;};
  231. /// Web service operation 'GetNetworkDefaultGateway' (returns error code or SOAP_OK)
  232. virtual int GetNetworkDefaultGateway(_tds__GetNetworkDefaultGateway *tds__GetNetworkDefaultGateway, _tds__GetNetworkDefaultGatewayResponse *tds__GetNetworkDefaultGatewayResponse) {return SOAP_OK;};
  233. /// Web service operation 'SetNetworkDefaultGateway' (returns error code or SOAP_OK)
  234. virtual int SetNetworkDefaultGateway(_tds__SetNetworkDefaultGateway *tds__SetNetworkDefaultGateway, _tds__SetNetworkDefaultGatewayResponse *tds__SetNetworkDefaultGatewayResponse) {return SOAP_OK;};
  235. /// Web service operation 'GetZeroConfiguration' (returns error code or SOAP_OK)
  236. virtual int GetZeroConfiguration(_tds__GetZeroConfiguration *tds__GetZeroConfiguration, _tds__GetZeroConfigurationResponse *tds__GetZeroConfigurationResponse) {return SOAP_OK;};
  237. /// Web service operation 'SetZeroConfiguration' (returns error code or SOAP_OK)
  238. virtual int SetZeroConfiguration(_tds__SetZeroConfiguration *tds__SetZeroConfiguration, _tds__SetZeroConfigurationResponse *tds__SetZeroConfigurationResponse) {return SOAP_OK;};
  239. /// Web service operation 'GetIPAddressFilter' (returns error code or SOAP_OK)
  240. virtual int GetIPAddressFilter(_tds__GetIPAddressFilter *tds__GetIPAddressFilter, _tds__GetIPAddressFilterResponse *tds__GetIPAddressFilterResponse) {return SOAP_OK;};
  241. /// Web service operation 'SetIPAddressFilter' (returns error code or SOAP_OK)
  242. virtual int SetIPAddressFilter(_tds__SetIPAddressFilter *tds__SetIPAddressFilter, _tds__SetIPAddressFilterResponse *tds__SetIPAddressFilterResponse) {return SOAP_OK;};
  243. /// Web service operation 'AddIPAddressFilter' (returns error code or SOAP_OK)
  244. virtual int AddIPAddressFilter(_tds__AddIPAddressFilter *tds__AddIPAddressFilter, _tds__AddIPAddressFilterResponse *tds__AddIPAddressFilterResponse) {return SOAP_OK;};
  245. /// Web service operation 'RemoveIPAddressFilter' (returns error code or SOAP_OK)
  246. virtual int RemoveIPAddressFilter(_tds__RemoveIPAddressFilter *tds__RemoveIPAddressFilter, _tds__RemoveIPAddressFilterResponse *tds__RemoveIPAddressFilterResponse) {return SOAP_OK;};
  247. /// Web service operation 'GetAccessPolicy' (returns error code or SOAP_OK)
  248. virtual int GetAccessPolicy(_tds__GetAccessPolicy *tds__GetAccessPolicy, _tds__GetAccessPolicyResponse *tds__GetAccessPolicyResponse) {return SOAP_OK;};
  249. /// Web service operation 'SetAccessPolicy' (returns error code or SOAP_OK)
  250. virtual int SetAccessPolicy(_tds__SetAccessPolicy *tds__SetAccessPolicy, _tds__SetAccessPolicyResponse *tds__SetAccessPolicyResponse) {return SOAP_OK;};
  251. /// Web service operation 'CreateCertificate' (returns error code or SOAP_OK)
  252. virtual int CreateCertificate(_tds__CreateCertificate *tds__CreateCertificate, _tds__CreateCertificateResponse *tds__CreateCertificateResponse) {return SOAP_OK;};
  253. /// Web service operation 'GetCertificates' (returns error code or SOAP_OK)
  254. virtual int GetCertificates(_tds__GetCertificates *tds__GetCertificates, _tds__GetCertificatesResponse *tds__GetCertificatesResponse) {return SOAP_OK;};
  255. /// Web service operation 'GetCertificatesStatus' (returns error code or SOAP_OK)
  256. virtual int GetCertificatesStatus(_tds__GetCertificatesStatus *tds__GetCertificatesStatus, _tds__GetCertificatesStatusResponse *tds__GetCertificatesStatusResponse) {return SOAP_OK;};
  257. /// Web service operation 'SetCertificatesStatus' (returns error code or SOAP_OK)
  258. virtual int SetCertificatesStatus(_tds__SetCertificatesStatus *tds__SetCertificatesStatus, _tds__SetCertificatesStatusResponse *tds__SetCertificatesStatusResponse) {return SOAP_OK;};
  259. /// Web service operation 'DeleteCertificates' (returns error code or SOAP_OK)
  260. virtual int DeleteCertificates(_tds__DeleteCertificates *tds__DeleteCertificates, _tds__DeleteCertificatesResponse *tds__DeleteCertificatesResponse) {return SOAP_OK;};
  261. /// Web service operation 'GetPkcs10Request' (returns error code or SOAP_OK)
  262. virtual int GetPkcs10Request(_tds__GetPkcs10Request *tds__GetPkcs10Request, _tds__GetPkcs10RequestResponse *tds__GetPkcs10RequestResponse) {return SOAP_OK;};
  263. /// Web service operation 'LoadCertificates' (returns error code or SOAP_OK)
  264. virtual int LoadCertificates(_tds__LoadCertificates *tds__LoadCertificates, _tds__LoadCertificatesResponse *tds__LoadCertificatesResponse) {return SOAP_OK;};
  265. /// Web service operation 'GetClientCertificateMode' (returns error code or SOAP_OK)
  266. virtual int GetClientCertificateMode(_tds__GetClientCertificateMode *tds__GetClientCertificateMode, _tds__GetClientCertificateModeResponse *tds__GetClientCertificateModeResponse) {return SOAP_OK;};
  267. /// Web service operation 'SetClientCertificateMode' (returns error code or SOAP_OK)
  268. virtual int SetClientCertificateMode(_tds__SetClientCertificateMode *tds__SetClientCertificateMode, _tds__SetClientCertificateModeResponse *tds__SetClientCertificateModeResponse) {return SOAP_OK;};
  269. /// Web service operation 'GetRelayOutputs' (returns error code or SOAP_OK)
  270. virtual int GetRelayOutputs(_tds__GetRelayOutputs *tds__GetRelayOutputs, _tds__GetRelayOutputsResponse *tds__GetRelayOutputsResponse) {return SOAP_OK;};
  271. /// Web service operation 'SetRelayOutputSettings' (returns error code or SOAP_OK)
  272. virtual int SetRelayOutputSettings(_tds__SetRelayOutputSettings *tds__SetRelayOutputSettings, _tds__SetRelayOutputSettingsResponse *tds__SetRelayOutputSettingsResponse) {return SOAP_OK;};
  273. /// Web service operation 'SetRelayOutputState' (returns error code or SOAP_OK)
  274. virtual int SetRelayOutputState(_tds__SetRelayOutputState *tds__SetRelayOutputState, _tds__SetRelayOutputStateResponse *tds__SetRelayOutputStateResponse) {return SOAP_OK;};
  275. /// Web service operation 'SendAuxiliaryCommand' (returns error code or SOAP_OK)
  276. virtual int SendAuxiliaryCommand(_tds__SendAuxiliaryCommand *tds__SendAuxiliaryCommand, _tds__SendAuxiliaryCommandResponse *tds__SendAuxiliaryCommandResponse) {return SOAP_OK;};
  277. /// Web service operation 'GetCACertificates' (returns error code or SOAP_OK)
  278. virtual int GetCACertificates(_tds__GetCACertificates *tds__GetCACertificates, _tds__GetCACertificatesResponse *tds__GetCACertificatesResponse) {return SOAP_OK;};
  279. /// Web service operation 'LoadCertificateWithPrivateKey' (returns error code or SOAP_OK)
  280. virtual int LoadCertificateWithPrivateKey(_tds__LoadCertificateWithPrivateKey *tds__LoadCertificateWithPrivateKey, _tds__LoadCertificateWithPrivateKeyResponse *tds__LoadCertificateWithPrivateKeyResponse) {return SOAP_OK;};
  281. /// Web service operation 'GetCertificateInformation' (returns error code or SOAP_OK)
  282. virtual int GetCertificateInformation(_tds__GetCertificateInformation *tds__GetCertificateInformation, _tds__GetCertificateInformationResponse *tds__GetCertificateInformationResponse) {return SOAP_OK;};
  283. /// Web service operation 'LoadCACertificates' (returns error code or SOAP_OK)
  284. virtual int LoadCACertificates(_tds__LoadCACertificates *tds__LoadCACertificates, _tds__LoadCACertificatesResponse *tds__LoadCACertificatesResponse) {return SOAP_OK;};
  285. /// Web service operation 'CreateDot1XConfiguration' (returns error code or SOAP_OK)
  286. virtual int CreateDot1XConfiguration(_tds__CreateDot1XConfiguration *tds__CreateDot1XConfiguration, _tds__CreateDot1XConfigurationResponse *tds__CreateDot1XConfigurationResponse) {return SOAP_OK;};
  287. /// Web service operation 'SetDot1XConfiguration' (returns error code or SOAP_OK)
  288. virtual int SetDot1XConfiguration(_tds__SetDot1XConfiguration *tds__SetDot1XConfiguration, _tds__SetDot1XConfigurationResponse *tds__SetDot1XConfigurationResponse) {return SOAP_OK;};
  289. /// Web service operation 'GetDot1XConfiguration' (returns error code or SOAP_OK)
  290. virtual int GetDot1XConfiguration(_tds__GetDot1XConfiguration *tds__GetDot1XConfiguration, _tds__GetDot1XConfigurationResponse *tds__GetDot1XConfigurationResponse) {return SOAP_OK;};
  291. /// Web service operation 'GetDot1XConfigurations' (returns error code or SOAP_OK)
  292. virtual int GetDot1XConfigurations(_tds__GetDot1XConfigurations *tds__GetDot1XConfigurations, _tds__GetDot1XConfigurationsResponse *tds__GetDot1XConfigurationsResponse) {return SOAP_OK;};
  293. /// Web service operation 'DeleteDot1XConfiguration' (returns error code or SOAP_OK)
  294. virtual int DeleteDot1XConfiguration(_tds__DeleteDot1XConfiguration *tds__DeleteDot1XConfiguration, _tds__DeleteDot1XConfigurationResponse *tds__DeleteDot1XConfigurationResponse) {return SOAP_OK;};
  295. /// Web service operation 'GetDot11Capabilities' (returns error code or SOAP_OK)
  296. virtual int GetDot11Capabilities(_tds__GetDot11Capabilities *tds__GetDot11Capabilities, _tds__GetDot11CapabilitiesResponse *tds__GetDot11CapabilitiesResponse) {return SOAP_OK;};
  297. /// Web service operation 'GetDot11Status' (returns error code or SOAP_OK)
  298. virtual int GetDot11Status(_tds__GetDot11Status *tds__GetDot11Status, _tds__GetDot11StatusResponse *tds__GetDot11StatusResponse) {return SOAP_OK;};
  299. /// Web service operation 'ScanAvailableDot11Networks' (returns error code or SOAP_OK)
  300. virtual int ScanAvailableDot11Networks(_tds__ScanAvailableDot11Networks *tds__ScanAvailableDot11Networks, _tds__ScanAvailableDot11NetworksResponse *tds__ScanAvailableDot11NetworksResponse) {return SOAP_OK;};
  301. /// Web service operation 'GetSystemUris' (returns error code or SOAP_OK)
  302. virtual int GetSystemUris(_tds__GetSystemUris *tds__GetSystemUris, _tds__GetSystemUrisResponse *tds__GetSystemUrisResponse) {return SOAP_OK;};
  303. /// Web service operation 'StartFirmwareUpgrade' (returns error code or SOAP_OK)
  304. virtual int StartFirmwareUpgrade(_tds__StartFirmwareUpgrade *tds__StartFirmwareUpgrade, _tds__StartFirmwareUpgradeResponse *tds__StartFirmwareUpgradeResponse) {return SOAP_OK;};
  305. /// Web service operation 'StartSystemRestore' (returns error code or SOAP_OK)
  306. virtual int StartSystemRestore(_tds__StartSystemRestore *tds__StartSystemRestore, _tds__StartSystemRestoreResponse *tds__StartSystemRestoreResponse) {return SOAP_OK;};
  307. /// Web service operation 'GetServices' (returns error code or SOAP_OK)
  308. virtual int GetServices_(_tds__GetServices *tds__GetServices, _tds__GetServicesResponse *tds__GetServicesResponse) {return SOAP_OK;};
  309. /// Web service operation 'GetServiceCapabilities' (returns error code or SOAP_OK)
  310. virtual int GetServiceCapabilities_(_tds__GetServiceCapabilities *tds__GetServiceCapabilities, _tds__GetServiceCapabilitiesResponse *tds__GetServiceCapabilitiesResponse) {return SOAP_OK;};
  311. /// Web service operation 'GetDeviceInformation' (returns error code or SOAP_OK)
  312. virtual int GetDeviceInformation_(_tds__GetDeviceInformation *tds__GetDeviceInformation, _tds__GetDeviceInformationResponse *tds__GetDeviceInformationResponse) {return SOAP_OK;};
  313. /// Web service operation 'SetSystemDateAndTime' (returns error code or SOAP_OK)
  314. virtual int SetSystemDateAndTime_(_tds__SetSystemDateAndTime *tds__SetSystemDateAndTime, _tds__SetSystemDateAndTimeResponse *tds__SetSystemDateAndTimeResponse) {return SOAP_OK;};
  315. /// Web service operation 'GetSystemDateAndTime' (returns error code or SOAP_OK)
  316. virtual int GetSystemDateAndTime_(_tds__GetSystemDateAndTime *tds__GetSystemDateAndTime, _tds__GetSystemDateAndTimeResponse *tds__GetSystemDateAndTimeResponse)
  317. {
  318. printf("%s----%d\n", __FILE__, __LINE__);
  319. return SOAP_OK;
  320. };
  321. /// Web service operation 'SetSystemFactoryDefault' (returns error code or SOAP_OK)
  322. virtual int SetSystemFactoryDefault_(_tds__SetSystemFactoryDefault *tds__SetSystemFactoryDefault, _tds__SetSystemFactoryDefaultResponse *tds__SetSystemFactoryDefaultResponse) {return SOAP_OK;};
  323. /// Web service operation 'UpgradeSystemFirmware' (returns error code or SOAP_OK)
  324. virtual int UpgradeSystemFirmware_(_tds__UpgradeSystemFirmware *tds__UpgradeSystemFirmware, _tds__UpgradeSystemFirmwareResponse *tds__UpgradeSystemFirmwareResponse) {return SOAP_OK;};
  325. /// Web service operation 'SystemReboot' (returns error code or SOAP_OK)
  326. virtual int SystemReboot_(_tds__SystemReboot *tds__SystemReboot, _tds__SystemRebootResponse *tds__SystemRebootResponse) {return SOAP_OK;};
  327. /// Web service operation 'RestoreSystem' (returns error code or SOAP_OK)
  328. virtual int RestoreSystem_(_tds__RestoreSystem *tds__RestoreSystem, _tds__RestoreSystemResponse *tds__RestoreSystemResponse) {return SOAP_OK;};
  329. /// Web service operation 'GetSystemBackup' (returns error code or SOAP_OK)
  330. virtual int GetSystemBackup_(_tds__GetSystemBackup *tds__GetSystemBackup, _tds__GetSystemBackupResponse *tds__GetSystemBackupResponse) {return SOAP_OK;};
  331. /// Web service operation 'GetSystemLog' (returns error code or SOAP_OK)
  332. virtual int GetSystemLog_(_tds__GetSystemLog *tds__GetSystemLog, _tds__GetSystemLogResponse *tds__GetSystemLogResponse) {return SOAP_OK;};
  333. /// Web service operation 'GetSystemSupportInformation' (returns error code or SOAP_OK)
  334. virtual int GetSystemSupportInformation_(_tds__GetSystemSupportInformation *tds__GetSystemSupportInformation, _tds__GetSystemSupportInformationResponse *tds__GetSystemSupportInformationResponse) {return SOAP_OK;};
  335. /// Web service operation 'GetScopes' (returns error code or SOAP_OK)
  336. virtual int GetScopes_(_tds__GetScopes *tds__GetScopes, _tds__GetScopesResponse *tds__GetScopesResponse) {return SOAP_OK;};
  337. /// Web service operation 'SetScopes' (returns error code or SOAP_OK)
  338. virtual int SetScopes_(_tds__SetScopes *tds__SetScopes, _tds__SetScopesResponse *tds__SetScopesResponse) {return SOAP_OK;};
  339. /// Web service operation 'AddScopes' (returns error code or SOAP_OK)
  340. virtual int AddScopes_(_tds__AddScopes *tds__AddScopes, _tds__AddScopesResponse *tds__AddScopesResponse) {return SOAP_OK;};
  341. /// Web service operation 'RemoveScopes' (returns error code or SOAP_OK)
  342. virtual int RemoveScopes_(_tds__RemoveScopes *tds__RemoveScopes, _tds__RemoveScopesResponse *tds__RemoveScopesResponse) {return SOAP_OK;};
  343. /// Web service operation 'GetDiscoveryMode' (returns error code or SOAP_OK)
  344. virtual int GetDiscoveryMode_(_tds__GetDiscoveryMode *tds__GetDiscoveryMode, _tds__GetDiscoveryModeResponse *tds__GetDiscoveryModeResponse) {return SOAP_OK;};
  345. /// Web service operation 'SetDiscoveryMode' (returns error code or SOAP_OK)
  346. virtual int SetDiscoveryMode_(_tds__SetDiscoveryMode *tds__SetDiscoveryMode, _tds__SetDiscoveryModeResponse *tds__SetDiscoveryModeResponse) {return SOAP_OK;};
  347. /// Web service operation 'GetRemoteDiscoveryMode' (returns error code or SOAP_OK)
  348. virtual int GetRemoteDiscoveryMode_(_tds__GetRemoteDiscoveryMode *tds__GetRemoteDiscoveryMode, _tds__GetRemoteDiscoveryModeResponse *tds__GetRemoteDiscoveryModeResponse) {return SOAP_OK;};
  349. /// Web service operation 'SetRemoteDiscoveryMode' (returns error code or SOAP_OK)
  350. virtual int SetRemoteDiscoveryMode_(_tds__SetRemoteDiscoveryMode *tds__SetRemoteDiscoveryMode, _tds__SetRemoteDiscoveryModeResponse *tds__SetRemoteDiscoveryModeResponse) {return SOAP_OK;};
  351. /// Web service operation 'GetDPAddresses' (returns error code or SOAP_OK)
  352. virtual int GetDPAddresses_(_tds__GetDPAddresses *tds__GetDPAddresses, _tds__GetDPAddressesResponse *tds__GetDPAddressesResponse) {return SOAP_OK;};
  353. /// Web service operation 'GetEndpointReference' (returns error code or SOAP_OK)
  354. virtual int GetEndpointReference_(_tds__GetEndpointReference *tds__GetEndpointReference, _tds__GetEndpointReferenceResponse *tds__GetEndpointReferenceResponse) {return SOAP_OK;};
  355. /// Web service operation 'GetRemoteUser' (returns error code or SOAP_OK)
  356. virtual int GetRemoteUser_(_tds__GetRemoteUser *tds__GetRemoteUser, _tds__GetRemoteUserResponse *tds__GetRemoteUserResponse) {return SOAP_OK;};
  357. /// Web service operation 'SetRemoteUser' (returns error code or SOAP_OK)
  358. virtual int SetRemoteUser_(_tds__SetRemoteUser *tds__SetRemoteUser, _tds__SetRemoteUserResponse *tds__SetRemoteUserResponse) {return SOAP_OK;};
  359. /// Web service operation 'GetUsers' (returns error code or SOAP_OK)
  360. virtual int GetUsers_(_tds__GetUsers *tds__GetUsers, _tds__GetUsersResponse *tds__GetUsersResponse) {return SOAP_OK;};
  361. /// Web service operation 'CreateUsers' (returns error code or SOAP_OK)
  362. virtual int CreateUsers_(_tds__CreateUsers *tds__CreateUsers, _tds__CreateUsersResponse *tds__CreateUsersResponse) {return SOAP_OK;};
  363. /// Web service operation 'DeleteUsers' (returns error code or SOAP_OK)
  364. virtual int DeleteUsers_(_tds__DeleteUsers *tds__DeleteUsers, _tds__DeleteUsersResponse *tds__DeleteUsersResponse) {return SOAP_OK;};
  365. /// Web service operation 'SetUser' (returns error code or SOAP_OK)
  366. virtual int SetUser_(_tds__SetUser *tds__SetUser, _tds__SetUserResponse *tds__SetUserResponse) {return SOAP_OK;};
  367. /// Web service operation 'GetWsdlUrl' (returns error code or SOAP_OK)
  368. virtual int GetWsdlUrl_(_tds__GetWsdlUrl *tds__GetWsdlUrl, _tds__GetWsdlUrlResponse *tds__GetWsdlUrlResponse) {return SOAP_OK;};
  369. /// Web service operation 'GetCapabilities' (returns error code or SOAP_OK)
  370. virtual int GetCapabilities_(_tds__GetCapabilities *tds__GetCapabilities, _tds__GetCapabilitiesResponse *tds__GetCapabilitiesResponse) {return SOAP_OK;};
  371. /// Web service operation 'SetDPAddresses' (returns error code or SOAP_OK)
  372. virtual int SetDPAddresses_(_tds__SetDPAddresses *tds__SetDPAddresses, _tds__SetDPAddressesResponse *tds__SetDPAddressesResponse) {return SOAP_OK;};
  373. /// Web service operation 'GetHostname' (returns error code or SOAP_OK)
  374. virtual int GetHostname_(_tds__GetHostname *tds__GetHostname, _tds__GetHostnameResponse *tds__GetHostnameResponse) {return SOAP_OK;};
  375. /// Web service operation 'SetHostname' (returns error code or SOAP_OK)
  376. virtual int SetHostname_(_tds__SetHostname *tds__SetHostname, _tds__SetHostnameResponse *tds__SetHostnameResponse) {return SOAP_OK;};
  377. /// Web service operation 'SetHostnameFromDHCP' (returns error code or SOAP_OK)
  378. virtual int SetHostnameFromDHCP_(_tds__SetHostnameFromDHCP *tds__SetHostnameFromDHCP, _tds__SetHostnameFromDHCPResponse *tds__SetHostnameFromDHCPResponse) {return SOAP_OK;};
  379. /// Web service operation 'GetDNS' (returns error code or SOAP_OK)
  380. virtual int GetDNS_(_tds__GetDNS *tds__GetDNS, _tds__GetDNSResponse *tds__GetDNSResponse) {return SOAP_OK;};
  381. /// Web service operation 'SetDNS' (returns error code or SOAP_OK)
  382. virtual int SetDNS_(_tds__SetDNS *tds__SetDNS, _tds__SetDNSResponse *tds__SetDNSResponse) {return SOAP_OK;};
  383. /// Web service operation 'GetNTP' (returns error code or SOAP_OK)
  384. virtual int GetNTP_(_tds__GetNTP *tds__GetNTP, _tds__GetNTPResponse *tds__GetNTPResponse) {return SOAP_OK;};
  385. /// Web service operation 'SetNTP' (returns error code or SOAP_OK)
  386. virtual int SetNTP_(_tds__SetNTP *tds__SetNTP, _tds__SetNTPResponse *tds__SetNTPResponse) {return SOAP_OK;};
  387. /// Web service operation 'GetDynamicDNS' (returns error code or SOAP_OK)
  388. virtual int GetDynamicDNS_(_tds__GetDynamicDNS *tds__GetDynamicDNS, _tds__GetDynamicDNSResponse *tds__GetDynamicDNSResponse) {return SOAP_OK;};
  389. /// Web service operation 'SetDynamicDNS' (returns error code or SOAP_OK)
  390. virtual int SetDynamicDNS_(_tds__SetDynamicDNS *tds__SetDynamicDNS, _tds__SetDynamicDNSResponse *tds__SetDynamicDNSResponse) {return SOAP_OK;};
  391. /// Web service operation 'GetNetworkInterfaces' (returns error code or SOAP_OK)
  392. virtual int GetNetworkInterfaces_(_tds__GetNetworkInterfaces *tds__GetNetworkInterfaces, _tds__GetNetworkInterfacesResponse *tds__GetNetworkInterfacesResponse) {return SOAP_OK;};
  393. /// Web service operation 'SetNetworkInterfaces' (returns error code or SOAP_OK)
  394. virtual int SetNetworkInterfaces_(_tds__SetNetworkInterfaces *tds__SetNetworkInterfaces, _tds__SetNetworkInterfacesResponse *tds__SetNetworkInterfacesResponse) {return SOAP_OK;};
  395. /// Web service operation 'GetNetworkProtocols' (returns error code or SOAP_OK)
  396. virtual int GetNetworkProtocols_(_tds__GetNetworkProtocols *tds__GetNetworkProtocols, _tds__GetNetworkProtocolsResponse *tds__GetNetworkProtocolsResponse) {return SOAP_OK;};
  397. /// Web service operation 'SetNetworkProtocols' (returns error code or SOAP_OK)
  398. virtual int SetNetworkProtocols_(_tds__SetNetworkProtocols *tds__SetNetworkProtocols, _tds__SetNetworkProtocolsResponse *tds__SetNetworkProtocolsResponse) {return SOAP_OK;};
  399. /// Web service operation 'GetNetworkDefaultGateway' (returns error code or SOAP_OK)
  400. virtual int GetNetworkDefaultGateway_(_tds__GetNetworkDefaultGateway *tds__GetNetworkDefaultGateway, _tds__GetNetworkDefaultGatewayResponse *tds__GetNetworkDefaultGatewayResponse) {return SOAP_OK;};
  401. /// Web service operation 'SetNetworkDefaultGateway' (returns error code or SOAP_OK)
  402. virtual int SetNetworkDefaultGateway_(_tds__SetNetworkDefaultGateway *tds__SetNetworkDefaultGateway, _tds__SetNetworkDefaultGatewayResponse *tds__SetNetworkDefaultGatewayResponse) {return SOAP_OK;};
  403. /// Web service operation 'GetZeroConfiguration' (returns error code or SOAP_OK)
  404. virtual int GetZeroConfiguration_(_tds__GetZeroConfiguration *tds__GetZeroConfiguration, _tds__GetZeroConfigurationResponse *tds__GetZeroConfigurationResponse) {return SOAP_OK;};
  405. /// Web service operation 'SetZeroConfiguration' (returns error code or SOAP_OK)
  406. virtual int SetZeroConfiguration_(_tds__SetZeroConfiguration *tds__SetZeroConfiguration, _tds__SetZeroConfigurationResponse *tds__SetZeroConfigurationResponse) {return SOAP_OK;};
  407. /// Web service operation 'GetIPAddressFilter' (returns error code or SOAP_OK)
  408. virtual int GetIPAddressFilter_(_tds__GetIPAddressFilter *tds__GetIPAddressFilter, _tds__GetIPAddressFilterResponse *tds__GetIPAddressFilterResponse) {return SOAP_OK;};
  409. /// Web service operation 'SetIPAddressFilter' (returns error code or SOAP_OK)
  410. virtual int SetIPAddressFilter_(_tds__SetIPAddressFilter *tds__SetIPAddressFilter, _tds__SetIPAddressFilterResponse *tds__SetIPAddressFilterResponse) {return SOAP_OK;};
  411. /// Web service operation 'AddIPAddressFilter' (returns error code or SOAP_OK)
  412. virtual int AddIPAddressFilter_(_tds__AddIPAddressFilter *tds__AddIPAddressFilter, _tds__AddIPAddressFilterResponse *tds__AddIPAddressFilterResponse) {return SOAP_OK;};
  413. /// Web service operation 'RemoveIPAddressFilter' (returns error code or SOAP_OK)
  414. virtual int RemoveIPAddressFilter_(_tds__RemoveIPAddressFilter *tds__RemoveIPAddressFilter, _tds__RemoveIPAddressFilterResponse *tds__RemoveIPAddressFilterResponse) {return SOAP_OK;};
  415. /// Web service operation 'GetAccessPolicy' (returns error code or SOAP_OK)
  416. virtual int GetAccessPolicy_(_tds__GetAccessPolicy *tds__GetAccessPolicy, _tds__GetAccessPolicyResponse *tds__GetAccessPolicyResponse) {return SOAP_OK;};
  417. /// Web service operation 'SetAccessPolicy' (returns error code or SOAP_OK)
  418. virtual int SetAccessPolicy_(_tds__SetAccessPolicy *tds__SetAccessPolicy, _tds__SetAccessPolicyResponse *tds__SetAccessPolicyResponse) {return SOAP_OK;};
  419. /// Web service operation 'CreateCertificate' (returns error code or SOAP_OK)
  420. virtual int CreateCertificate_(_tds__CreateCertificate *tds__CreateCertificate, _tds__CreateCertificateResponse *tds__CreateCertificateResponse) {return SOAP_OK;};
  421. /// Web service operation 'GetCertificates' (returns error code or SOAP_OK)
  422. virtual int GetCertificates_(_tds__GetCertificates *tds__GetCertificates, _tds__GetCertificatesResponse *tds__GetCertificatesResponse) {return SOAP_OK;};
  423. /// Web service operation 'GetCertificatesStatus' (returns error code or SOAP_OK)
  424. virtual int GetCertificatesStatus_(_tds__GetCertificatesStatus *tds__GetCertificatesStatus, _tds__GetCertificatesStatusResponse *tds__GetCertificatesStatusResponse) {return SOAP_OK;};
  425. /// Web service operation 'SetCertificatesStatus' (returns error code or SOAP_OK)
  426. virtual int SetCertificatesStatus_(_tds__SetCertificatesStatus *tds__SetCertificatesStatus, _tds__SetCertificatesStatusResponse *tds__SetCertificatesStatusResponse) {return SOAP_OK;};
  427. /// Web service operation 'DeleteCertificates' (returns error code or SOAP_OK)
  428. virtual int DeleteCertificates_(_tds__DeleteCertificates *tds__DeleteCertificates, _tds__DeleteCertificatesResponse *tds__DeleteCertificatesResponse) {return SOAP_OK;};
  429. /// Web service operation 'GetPkcs10Request' (returns error code or SOAP_OK)
  430. virtual int GetPkcs10Request_(_tds__GetPkcs10Request *tds__GetPkcs10Request, _tds__GetPkcs10RequestResponse *tds__GetPkcs10RequestResponse) {return SOAP_OK;};
  431. /// Web service operation 'LoadCertificates' (returns error code or SOAP_OK)
  432. virtual int LoadCertificates_(_tds__LoadCertificates *tds__LoadCertificates, _tds__LoadCertificatesResponse *tds__LoadCertificatesResponse) {return SOAP_OK;};
  433. /// Web service operation 'GetClientCertificateMode' (returns error code or SOAP_OK)
  434. virtual int GetClientCertificateMode_(_tds__GetClientCertificateMode *tds__GetClientCertificateMode, _tds__GetClientCertificateModeResponse *tds__GetClientCertificateModeResponse) {return SOAP_OK;};
  435. /// Web service operation 'SetClientCertificateMode' (returns error code or SOAP_OK)
  436. virtual int SetClientCertificateMode_(_tds__SetClientCertificateMode *tds__SetClientCertificateMode, _tds__SetClientCertificateModeResponse *tds__SetClientCertificateModeResponse) {return SOAP_OK;};
  437. /// Web service operation 'GetRelayOutputs' (returns error code or SOAP_OK)
  438. virtual int GetRelayOutputs_(_tds__GetRelayOutputs *tds__GetRelayOutputs, _tds__GetRelayOutputsResponse *tds__GetRelayOutputsResponse) {return SOAP_OK;};
  439. /// Web service operation 'SetRelayOutputSettings' (returns error code or SOAP_OK)
  440. virtual int SetRelayOutputSettings_(_tds__SetRelayOutputSettings *tds__SetRelayOutputSettings, _tds__SetRelayOutputSettingsResponse *tds__SetRelayOutputSettingsResponse) {return SOAP_OK;};
  441. /// Web service operation 'SetRelayOutputState' (returns error code or SOAP_OK)
  442. virtual int SetRelayOutputState_(_tds__SetRelayOutputState *tds__SetRelayOutputState, _tds__SetRelayOutputStateResponse *tds__SetRelayOutputStateResponse) {return SOAP_OK;};
  443. /// Web service operation 'SendAuxiliaryCommand' (returns error code or SOAP_OK)
  444. virtual int SendAuxiliaryCommand_(_tds__SendAuxiliaryCommand *tds__SendAuxiliaryCommand, _tds__SendAuxiliaryCommandResponse *tds__SendAuxiliaryCommandResponse) {return SOAP_OK;};
  445. /// Web service operation 'GetCACertificates' (returns error code or SOAP_OK)
  446. virtual int GetCACertificates_(_tds__GetCACertificates *tds__GetCACertificates, _tds__GetCACertificatesResponse *tds__GetCACertificatesResponse) {return SOAP_OK;};
  447. /// Web service operation 'LoadCertificateWithPrivateKey' (returns error code or SOAP_OK)
  448. virtual int LoadCertificateWithPrivateKey_(_tds__LoadCertificateWithPrivateKey *tds__LoadCertificateWithPrivateKey, _tds__LoadCertificateWithPrivateKeyResponse *tds__LoadCertificateWithPrivateKeyResponse) {return SOAP_OK;};
  449. /// Web service operation 'GetCertificateInformation' (returns error code or SOAP_OK)
  450. virtual int GetCertificateInformation_(_tds__GetCertificateInformation *tds__GetCertificateInformation, _tds__GetCertificateInformationResponse *tds__GetCertificateInformationResponse) {return SOAP_OK;};
  451. /// Web service operation 'LoadCACertificates' (returns error code or SOAP_OK)
  452. virtual int LoadCACertificates_(_tds__LoadCACertificates *tds__LoadCACertificates, _tds__LoadCACertificatesResponse *tds__LoadCACertificatesResponse) {return SOAP_OK;};
  453. /// Web service operation 'CreateDot1XConfiguration' (returns error code or SOAP_OK)
  454. virtual int CreateDot1XConfiguration_(_tds__CreateDot1XConfiguration *tds__CreateDot1XConfiguration, _tds__CreateDot1XConfigurationResponse *tds__CreateDot1XConfigurationResponse) {return SOAP_OK;};
  455. /// Web service operation 'SetDot1XConfiguration' (returns error code or SOAP_OK)
  456. virtual int SetDot1XConfiguration_(_tds__SetDot1XConfiguration *tds__SetDot1XConfiguration, _tds__SetDot1XConfigurationResponse *tds__SetDot1XConfigurationResponse) {return SOAP_OK;};
  457. /// Web service operation 'GetDot1XConfiguration' (returns error code or SOAP_OK)
  458. virtual int GetDot1XConfiguration_(_tds__GetDot1XConfiguration *tds__GetDot1XConfiguration, _tds__GetDot1XConfigurationResponse *tds__GetDot1XConfigurationResponse) {return SOAP_OK;};
  459. /// Web service operation 'GetDot1XConfigurations' (returns error code or SOAP_OK)
  460. virtual int GetDot1XConfigurations_(_tds__GetDot1XConfigurations *tds__GetDot1XConfigurations, _tds__GetDot1XConfigurationsResponse *tds__GetDot1XConfigurationsResponse) {return SOAP_OK;};
  461. /// Web service operation 'DeleteDot1XConfiguration' (returns error code or SOAP_OK)
  462. virtual int DeleteDot1XConfiguration_(_tds__DeleteDot1XConfiguration *tds__DeleteDot1XConfiguration, _tds__DeleteDot1XConfigurationResponse *tds__DeleteDot1XConfigurationResponse) {return SOAP_OK;};
  463. /// Web service operation 'GetDot11Capabilities' (returns error code or SOAP_OK)
  464. virtual int GetDot11Capabilities_(_tds__GetDot11Capabilities *tds__GetDot11Capabilities, _tds__GetDot11CapabilitiesResponse *tds__GetDot11CapabilitiesResponse) {return SOAP_OK;};
  465. /// Web service operation 'GetDot11Status' (returns error code or SOAP_OK)
  466. virtual int GetDot11Status_(_tds__GetDot11Status *tds__GetDot11Status, _tds__GetDot11StatusResponse *tds__GetDot11StatusResponse) {return SOAP_OK;};
  467. /// Web service operation 'ScanAvailableDot11Networks' (returns error code or SOAP_OK)
  468. virtual int ScanAvailableDot11Networks_(_tds__ScanAvailableDot11Networks *tds__ScanAvailableDot11Networks, _tds__ScanAvailableDot11NetworksResponse *tds__ScanAvailableDot11NetworksResponse) {return SOAP_OK;};
  469. /// Web service operation 'GetSystemUris' (returns error code or SOAP_OK)
  470. virtual int GetSystemUris_(_tds__GetSystemUris *tds__GetSystemUris, _tds__GetSystemUrisResponse *tds__GetSystemUrisResponse) {return SOAP_OK;};
  471. /// Web service operation 'StartFirmwareUpgrade' (returns error code or SOAP_OK)
  472. virtual int StartFirmwareUpgrade_(_tds__StartFirmwareUpgrade *tds__StartFirmwareUpgrade, _tds__StartFirmwareUpgradeResponse *tds__StartFirmwareUpgradeResponse) {return SOAP_OK;};
  473. /// Web service operation 'StartSystemRestore' (returns error code or SOAP_OK)
  474. virtual int StartSystemRestore_(_tds__StartSystemRestore *tds__StartSystemRestore, _tds__StartSystemRestoreResponse *tds__StartSystemRestoreResponse) {return SOAP_OK;};
  475. private:
  476. struct soap * m_pSoap;
  477. string m_strDeviceEndpoint;
  478. string m_strMediaEndpoint;
  479. string m_strReceiverEndpoint;
  480. string m_strEventEndpoint;
  481. std::vector<std::string> m_strScopes;
  482. };
  483. inline OnvifServerDevice::OnvifServerDevice(struct soap * pData, string strDeviceEndpoint,
  484. string strMediaEndpoint, string strReceiverEndpoint, string strEventEndpoint)
  485. :DeviceBindingService(pData), m_pSoap(pData), m_strDeviceEndpoint(strDeviceEndpoint),
  486. m_strMediaEndpoint(strMediaEndpoint), m_strReceiverEndpoint(strReceiverEndpoint),
  487. m_strEventEndpoint(strEventEndpoint)
  488. {
  489. m_strScopes.push_back("onvif://www.onvif.org/name/OpenCVR");
  490. m_strScopes.push_back("onvif://www.onvif.org/hardware/OpenCVR");
  491. m_strScopes.push_back("onvif://www.onvif.org/location/Beijing");
  492. m_strScopes.push_back("onvif://www.onvif.org/Profile/Streaming");
  493. m_strScopes.push_back("onvif://www.onvif.org/Profile/Storage");
  494. }
  495. inline OnvifServerDevice::~OnvifServerDevice()
  496. {
  497. }
  498. #endif