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.

79 lines
4.3 KiB

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* soapRemoteDiscoveryBindingProxy.h
  2. Generated by gSOAP 2.8.17r from onvif.h
  3. Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
  4. The generated code is released under one of the following licenses:
  5. GPL or Genivia's license for commercial use.
  6. This program is released under the GPL with the additional exemption that
  7. compiling, linking, and/or using OpenSSL is allowed.
  8. */
  9. #ifndef soapRemoteDiscoveryBindingProxy_H
  10. #define soapRemoteDiscoveryBindingProxy_H
  11. #include "soapH.h"
  12. class SOAP_CMAC RemoteDiscoveryBindingProxy : public soap
  13. { public:
  14. /// Endpoint URL of service 'RemoteDiscoveryBindingProxy' (change as needed)
  15. const char *soap_endpoint;
  16. /// Constructor
  17. RemoteDiscoveryBindingProxy();
  18. /// Construct from another engine state
  19. RemoteDiscoveryBindingProxy(const struct soap&);
  20. /// Constructor with endpoint URL
  21. RemoteDiscoveryBindingProxy(const char *url);
  22. /// Constructor with engine input+output mode control
  23. RemoteDiscoveryBindingProxy(soap_mode iomode);
  24. /// Constructor with URL and input+output mode control
  25. RemoteDiscoveryBindingProxy(const char *url, soap_mode iomode);
  26. /// Constructor with engine input and output mode control
  27. RemoteDiscoveryBindingProxy(soap_mode imode, soap_mode omode);
  28. /// Destructor frees deserialized data
  29. virtual ~RemoteDiscoveryBindingProxy();
  30. /// Initializer used by constructors
  31. virtual void RemoteDiscoveryBindingProxy_init(soap_mode imode, soap_mode omode);
  32. /// Delete all deserialized data (with soap_destroy and soap_end)
  33. virtual void destroy();
  34. /// Delete all deserialized data and reset to default
  35. virtual void reset();
  36. /// Disables and removes SOAP Header from message
  37. virtual void soap_noheader();
  38. /// Put SOAP Header in message
  39. virtual void soap_header(struct _wsse__Security *wsse__Security, char *wsa__MessageID, struct wsa__Relationship *wsa__RelatesTo, struct wsa__EndpointReferenceType *wsa__From, struct wsa__EndpointReferenceType *wsa__ReplyTo, struct wsa__EndpointReferenceType *wsa__FaultTo, char *wsa__To, char *wsa__Action, struct wsdd__AppSequenceType *wsdd__AppSequence, char *wsa5__MessageID, struct wsa5__RelatesToType *wsa5__RelatesTo, struct wsa5__EndpointReferenceType *wsa5__From, struct wsa5__EndpointReferenceType *wsa5__ReplyTo, struct wsa5__EndpointReferenceType *wsa5__FaultTo, char *wsa5__To, char *wsa5__Action, struct chan__ChannelInstanceType *chan__ChannelInstance);
  40. /// Get SOAP Header structure (NULL when absent)
  41. virtual const SOAP_ENV__Header *soap_header();
  42. /// Get SOAP Fault structure (NULL when absent)
  43. virtual const SOAP_ENV__Fault *soap_fault();
  44. /// Get SOAP Fault string (NULL when absent)
  45. virtual const char *soap_fault_string();
  46. /// Get SOAP Fault detail as string (NULL when absent)
  47. virtual const char *soap_fault_detail();
  48. /// Close connection (normally automatic, except for send_X ops)
  49. virtual int soap_close_socket();
  50. /// Force close connection (can kill a thread blocked on IO)
  51. virtual int soap_force_close_socket();
  52. /// Print fault
  53. virtual void soap_print_fault(FILE*);
  54. #ifndef WITH_LEAN
  55. /// Print fault to stream
  56. #ifndef WITH_COMPAT
  57. virtual void soap_stream_fault(std::ostream&);
  58. #endif
  59. /// Put fault into buffer
  60. virtual char *soap_sprint_fault(char *buf, size_t len);
  61. #endif
  62. /// Web service operation 'Hello' (returns error code or SOAP_OK)
  63. virtual int Hello(struct wsdd__HelloType tdn__Hello, struct wsdd__ResolveType &tdn__HelloResponse) { return this->Hello(NULL, NULL, tdn__Hello, tdn__HelloResponse); }
  64. virtual int Hello(const char *endpoint, const char *soap_action, struct wsdd__HelloType tdn__Hello, struct wsdd__ResolveType &tdn__HelloResponse);
  65. /// Web service operation 'Bye' (returns error code or SOAP_OK)
  66. virtual int Bye(struct wsdd__ByeType tdn__Bye, struct wsdd__ResolveType &tdn__ByeResponse) { return this->Bye(NULL, NULL, tdn__Bye, tdn__ByeResponse); }
  67. virtual int Bye(const char *endpoint, const char *soap_action, struct wsdd__ByeType tdn__Bye, struct wsdd__ResolveType &tdn__ByeResponse);
  68. /// Web service operation 'Probe' (returns error code or SOAP_OK)
  69. virtual int Probe(struct wsdd__ProbeType tdn__Probe, struct wsdd__ProbeMatchesType &tdn__ProbeResponse) { return this->Probe(NULL, NULL, tdn__Probe, tdn__ProbeResponse); }
  70. virtual int Probe(const char *endpoint, const char *soap_action, struct wsdd__ProbeType tdn__Probe, struct wsdd__ProbeMatchesType &tdn__ProbeResponse);
  71. };
  72. #endif