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.
133 lines
10 KiB
133 lines
10 KiB
/* soapwsddProxy.h
|
|
Generated by gSOAP 2.8.17r from onvif.h
|
|
|
|
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
|
The generated code is released under one of the following licenses:
|
|
GPL or Genivia's license for commercial use.
|
|
This program is released under the GPL with the additional exemption that
|
|
compiling, linking, and/or using OpenSSL is allowed.
|
|
*/
|
|
|
|
#ifndef soapwsddProxy_H
|
|
#define soapwsddProxy_H
|
|
#include "soapH.h"
|
|
|
|
class SOAP_CMAC wsddProxy : public soap
|
|
{ public:
|
|
/// Endpoint URL of service 'wsddProxy' (change as needed)
|
|
const char *soap_endpoint;
|
|
/// Constructor
|
|
wsddProxy();
|
|
/// Construct from another engine state
|
|
wsddProxy(const struct soap&);
|
|
/// Constructor with endpoint URL
|
|
wsddProxy(const char *url);
|
|
/// Constructor with engine input+output mode control
|
|
wsddProxy(soap_mode iomode);
|
|
/// Constructor with URL and input+output mode control
|
|
wsddProxy(const char *url, soap_mode iomode);
|
|
/// Constructor with engine input and output mode control
|
|
wsddProxy(soap_mode imode, soap_mode omode);
|
|
/// Destructor frees deserialized data
|
|
virtual ~wsddProxy();
|
|
/// Initializer used by constructors
|
|
virtual void wsddProxy_init(soap_mode imode, soap_mode omode);
|
|
/// Delete all deserialized data (with soap_destroy and soap_end)
|
|
virtual void destroy();
|
|
/// Delete all deserialized data and reset to default
|
|
virtual void reset();
|
|
/// Disables and removes SOAP Header from message
|
|
virtual void soap_noheader();
|
|
/// Put SOAP Header in message
|
|
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);
|
|
/// Get SOAP Header structure (NULL when absent)
|
|
virtual const SOAP_ENV__Header *soap_header();
|
|
/// Get SOAP Fault structure (NULL when absent)
|
|
virtual const SOAP_ENV__Fault *soap_fault();
|
|
/// Get SOAP Fault string (NULL when absent)
|
|
virtual const char *soap_fault_string();
|
|
/// Get SOAP Fault detail as string (NULL when absent)
|
|
virtual const char *soap_fault_detail();
|
|
/// Close connection (normally automatic, except for send_X ops)
|
|
virtual int soap_close_socket();
|
|
/// Force close connection (can kill a thread blocked on IO)
|
|
virtual int soap_force_close_socket();
|
|
/// Print fault
|
|
virtual void soap_print_fault(FILE*);
|
|
#ifndef WITH_LEAN
|
|
/// Print fault to stream
|
|
#ifndef WITH_COMPAT
|
|
virtual void soap_stream_fault(std::ostream&);
|
|
#endif
|
|
|
|
/// Put fault into buffer
|
|
virtual char *soap_sprint_fault(char *buf, size_t len);
|
|
#endif
|
|
|
|
/// Web service one-way send operation 'send_Hello' (returns error code or SOAP_OK)
|
|
virtual int send_Hello(struct wsdd__HelloType *wsdd__Hello) { return this->send_Hello(NULL, NULL, wsdd__Hello); }
|
|
virtual int send_Hello(const char *endpoint, const char *soap_action, struct wsdd__HelloType *wsdd__Hello);
|
|
/// Web service one-way receive operation 'recv_Hello' (returns error code or SOAP_OK);
|
|
virtual int recv_Hello(struct __wsdd__Hello&);
|
|
/// Web service receive of HTTP Accept acknowledgment for one-way send operation 'send_Hello' (returns error code or SOAP_OK)
|
|
virtual int recv_Hello_empty_response() { return soap_recv_empty_response(this); }
|
|
/// Web service one-way synchronous send operation 'Hello' with HTTP Accept/OK response receive (returns error code or SOAP_OK)
|
|
virtual int Hello(struct wsdd__HelloType *wsdd__Hello) { return this->Hello(NULL, NULL, wsdd__Hello); }
|
|
virtual int Hello(const char *endpoint, const char *soap_action, struct wsdd__HelloType *wsdd__Hello) { if (this->send_Hello(endpoint, soap_action, wsdd__Hello) || soap_recv_empty_response(this)) return this->error; return SOAP_OK; }
|
|
|
|
/// Web service one-way send operation 'send_Bye' (returns error code or SOAP_OK)
|
|
virtual int send_Bye(struct wsdd__ByeType *wsdd__Bye) { return this->send_Bye(NULL, NULL, wsdd__Bye); }
|
|
virtual int send_Bye(const char *endpoint, const char *soap_action, struct wsdd__ByeType *wsdd__Bye);
|
|
/// Web service one-way receive operation 'recv_Bye' (returns error code or SOAP_OK);
|
|
virtual int recv_Bye(struct __wsdd__Bye&);
|
|
/// Web service receive of HTTP Accept acknowledgment for one-way send operation 'send_Bye' (returns error code or SOAP_OK)
|
|
virtual int recv_Bye_empty_response() { return soap_recv_empty_response(this); }
|
|
/// Web service one-way synchronous send operation 'Bye' with HTTP Accept/OK response receive (returns error code or SOAP_OK)
|
|
virtual int Bye(struct wsdd__ByeType *wsdd__Bye) { return this->Bye(NULL, NULL, wsdd__Bye); }
|
|
virtual int Bye(const char *endpoint, const char *soap_action, struct wsdd__ByeType *wsdd__Bye) { if (this->send_Bye(endpoint, soap_action, wsdd__Bye) || soap_recv_empty_response(this)) return this->error; return SOAP_OK; }
|
|
|
|
/// Web service one-way send operation 'send_Probe' (returns error code or SOAP_OK)
|
|
virtual int send_Probe(struct wsdd__ProbeType *wsdd__Probe) { return this->send_Probe(NULL, NULL, wsdd__Probe); }
|
|
virtual int send_Probe(const char *endpoint, const char *soap_action, struct wsdd__ProbeType *wsdd__Probe);
|
|
/// Web service one-way receive operation 'recv_Probe' (returns error code or SOAP_OK);
|
|
virtual int recv_Probe(struct __wsdd__Probe&);
|
|
/// Web service receive of HTTP Accept acknowledgment for one-way send operation 'send_Probe' (returns error code or SOAP_OK)
|
|
virtual int recv_Probe_empty_response() { return soap_recv_empty_response(this); }
|
|
/// Web service one-way synchronous send operation 'Probe' with HTTP Accept/OK response receive (returns error code or SOAP_OK)
|
|
virtual int Probe(struct wsdd__ProbeType *wsdd__Probe) { return this->Probe(NULL, NULL, wsdd__Probe); }
|
|
virtual int Probe(const char *endpoint, const char *soap_action, struct wsdd__ProbeType *wsdd__Probe) { if (this->send_Probe(endpoint, soap_action, wsdd__Probe) || soap_recv_empty_response(this)) return this->error; return SOAP_OK; }
|
|
|
|
/// Web service one-way send operation 'send_ProbeMatches' (returns error code or SOAP_OK)
|
|
virtual int send_ProbeMatches(struct wsdd__ProbeMatchesType *wsdd__ProbeMatches) { return this->send_ProbeMatches(NULL, NULL, wsdd__ProbeMatches); }
|
|
virtual int send_ProbeMatches(const char *endpoint, const char *soap_action, struct wsdd__ProbeMatchesType *wsdd__ProbeMatches);
|
|
/// Web service one-way receive operation 'recv_ProbeMatches' (returns error code or SOAP_OK);
|
|
virtual int recv_ProbeMatches(struct __wsdd__ProbeMatches&);
|
|
/// Web service receive of HTTP Accept acknowledgment for one-way send operation 'send_ProbeMatches' (returns error code or SOAP_OK)
|
|
virtual int recv_ProbeMatches_empty_response() { return soap_recv_empty_response(this); }
|
|
/// Web service one-way synchronous send operation 'ProbeMatches' with HTTP Accept/OK response receive (returns error code or SOAP_OK)
|
|
virtual int ProbeMatches(struct wsdd__ProbeMatchesType *wsdd__ProbeMatches) { return this->ProbeMatches(NULL, NULL, wsdd__ProbeMatches); }
|
|
virtual int ProbeMatches(const char *endpoint, const char *soap_action, struct wsdd__ProbeMatchesType *wsdd__ProbeMatches) { if (this->send_ProbeMatches(endpoint, soap_action, wsdd__ProbeMatches) || soap_recv_empty_response(this)) return this->error; return SOAP_OK; }
|
|
|
|
/// Web service one-way send operation 'send_Resolve' (returns error code or SOAP_OK)
|
|
virtual int send_Resolve(struct wsdd__ResolveType *wsdd__Resolve) { return this->send_Resolve(NULL, NULL, wsdd__Resolve); }
|
|
virtual int send_Resolve(const char *endpoint, const char *soap_action, struct wsdd__ResolveType *wsdd__Resolve);
|
|
/// Web service one-way receive operation 'recv_Resolve' (returns error code or SOAP_OK);
|
|
virtual int recv_Resolve(struct __wsdd__Resolve&);
|
|
/// Web service receive of HTTP Accept acknowledgment for one-way send operation 'send_Resolve' (returns error code or SOAP_OK)
|
|
virtual int recv_Resolve_empty_response() { return soap_recv_empty_response(this); }
|
|
/// Web service one-way synchronous send operation 'Resolve' with HTTP Accept/OK response receive (returns error code or SOAP_OK)
|
|
virtual int Resolve(struct wsdd__ResolveType *wsdd__Resolve) { return this->Resolve(NULL, NULL, wsdd__Resolve); }
|
|
virtual int Resolve(const char *endpoint, const char *soap_action, struct wsdd__ResolveType *wsdd__Resolve) { if (this->send_Resolve(endpoint, soap_action, wsdd__Resolve) || soap_recv_empty_response(this)) return this->error; return SOAP_OK; }
|
|
|
|
/// Web service one-way send operation 'send_ResolveMatches' (returns error code or SOAP_OK)
|
|
virtual int send_ResolveMatches(struct wsdd__ResolveMatchesType *wsdd__ResolveMatches) { return this->send_ResolveMatches(NULL, NULL, wsdd__ResolveMatches); }
|
|
virtual int send_ResolveMatches(const char *endpoint, const char *soap_action, struct wsdd__ResolveMatchesType *wsdd__ResolveMatches);
|
|
/// Web service one-way receive operation 'recv_ResolveMatches' (returns error code or SOAP_OK);
|
|
virtual int recv_ResolveMatches(struct __wsdd__ResolveMatches&);
|
|
/// Web service receive of HTTP Accept acknowledgment for one-way send operation 'send_ResolveMatches' (returns error code or SOAP_OK)
|
|
virtual int recv_ResolveMatches_empty_response() { return soap_recv_empty_response(this); }
|
|
/// Web service one-way synchronous send operation 'ResolveMatches' with HTTP Accept/OK response receive (returns error code or SOAP_OK)
|
|
virtual int ResolveMatches(struct wsdd__ResolveMatchesType *wsdd__ResolveMatches) { return this->ResolveMatches(NULL, NULL, wsdd__ResolveMatches); }
|
|
virtual int ResolveMatches(const char *endpoint, const char *soap_action, struct wsdd__ResolveMatchesType *wsdd__ResolveMatches) { if (this->send_ResolveMatches(endpoint, soap_action, wsdd__ResolveMatches) || soap_recv_empty_response(this)) return this->error; return SOAP_OK; }
|
|
};
|
|
#endif
|