You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
6.7 KiB
C++
98 lines
6.7 KiB
C++
/* soapNotificationConsumerBindingProxy.h
|
|
Generated by gSOAP 2.8.138 for gen/onvif.h
|
|
|
|
gSOAP XML Web services tools
|
|
Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
|
The soapcpp2 tool and its generated software are released under the GPL.
|
|
This program is released under the GPL with the additional exemption that
|
|
compiling, linking, and/or using OpenSSL is allowed.
|
|
--------------------------------------------------------------------------------
|
|
A commercial use license is available from Genivia Inc., contact@genivia.com
|
|
--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef soapNotificationConsumerBindingProxy_H
|
|
#define soapNotificationConsumerBindingProxy_H
|
|
#include "soapH.h"
|
|
|
|
class SOAP_CMAC NotificationConsumerBindingProxy {
|
|
public:
|
|
/// Context to manage proxy IO and data
|
|
struct soap *soap;
|
|
/// flag indicating that this context is owned by this proxy and should be deleted by the destructor
|
|
bool soap_own;
|
|
/// Endpoint URL of service 'NotificationConsumerBindingProxy' (change as needed)
|
|
const char *soap_endpoint;
|
|
/// Variables globally declared in gen/onvif.h, if any
|
|
/// Construct a proxy with new managing context
|
|
NotificationConsumerBindingProxy();
|
|
/// Copy constructor
|
|
NotificationConsumerBindingProxy(const NotificationConsumerBindingProxy& rhs);
|
|
/// Construct proxy given a shared managing context
|
|
NotificationConsumerBindingProxy(struct soap*);
|
|
/// Construct proxy given a shared managing context and endpoint URL
|
|
NotificationConsumerBindingProxy(struct soap*, const char *soap_endpoint_url);
|
|
/// Constructor taking an endpoint URL
|
|
NotificationConsumerBindingProxy(const char *soap_endpoint_url);
|
|
/// Constructor taking input and output mode flags for the new managing context
|
|
NotificationConsumerBindingProxy(soap_mode iomode);
|
|
/// Constructor taking endpoint URL and input and output mode flags for the new managing context
|
|
NotificationConsumerBindingProxy(const char *soap_endpoint_url, soap_mode iomode);
|
|
/// Constructor taking input and output mode flags for the new managing context
|
|
NotificationConsumerBindingProxy(soap_mode imode, soap_mode omode);
|
|
/// Destructor deletes deserialized data and its managing context, when the context was allocated by the constructor
|
|
virtual ~NotificationConsumerBindingProxy();
|
|
/// Initializer used by constructors
|
|
virtual void NotificationConsumerBindingProxy_init(soap_mode imode, soap_mode omode);
|
|
/// Return a copy that has a new managing context with the same engine state
|
|
virtual NotificationConsumerBindingProxy *copy();
|
|
/// Copy assignment
|
|
NotificationConsumerBindingProxy& operator=(const NotificationConsumerBindingProxy&);
|
|
/// Delete all deserialized data (uses 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 by setting soap->header = NULL
|
|
virtual void soap_noheader();
|
|
/// Add SOAP Header to message
|
|
virtual void soap_header(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, struct _wsse__Security *wsse__Security, 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 (i.e. soap->header, which is NULL when absent)
|
|
virtual ::SOAP_ENV__Header *soap_header();
|
|
/// Get SOAP Fault structure (i.e. soap->fault, which is NULL when absent)
|
|
virtual ::SOAP_ENV__Fault *soap_fault();
|
|
/// Get SOAP Fault subcode QName string (NULL when absent)
|
|
virtual const char *soap_fault_subcode();
|
|
/// Get SOAP Fault string/reason (NULL when absent)
|
|
virtual const char *soap_fault_string();
|
|
/// Get SOAP Fault detail XML 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
|
|
#ifndef WITH_COMPAT
|
|
/// Print fault to stream
|
|
virtual void soap_stream_fault(std::ostream&);
|
|
#endif
|
|
/// Write fault to buffer
|
|
virtual char *soap_sprint_fault(char *buf, size_t len);
|
|
#endif
|
|
//
|
|
/// Web service one-way synchronous send operation 'Notify' to the default endpoint with the default SOAP Action header then wait for HTTP OK/Accept response, returns SOAP_OK or error code
|
|
virtual int Notify(_wsnt__Notify *wsnt__Notify) { return this->Notify(NULL, NULL, wsnt__Notify); }
|
|
/// Web service one-way synchronous send operation 'Notify' to the specified endpoint and SOAP Action header then wait for HTTP OK/Accept response, returns SOAP_OK or error code
|
|
virtual int Notify(const char *soap_endpoint_url, const char *soap_action, _wsnt__Notify *wsnt__Notify) { return (this->send_Notify(soap_endpoint_url, soap_action, wsnt__Notify) || soap_recv_empty_response(this->soap)) ? this->soap->error : SOAP_OK; }
|
|
/// Web service one-way asynchronous send operation 'send_Notify' with default endpoint and default SOAP Action header, returns SOAP_OK or error code
|
|
virtual int send_Notify(_wsnt__Notify *wsnt__Notify) { return this->send_Notify(NULL, NULL, wsnt__Notify); }
|
|
/// Web service one-way asynchronous send operation 'send_Notify' to the specified endpoint and SOAP Action header, returns SOAP_OK or error code
|
|
virtual int send_Notify(const char *soap_endpoint_url, const char *soap_action, _wsnt__Notify *wsnt__Notify);
|
|
/// Web service one-way asynchronous receive operation 'recv_Notify', returns SOAP_OK or error code;
|
|
virtual int recv_Notify(struct __tevnc__Notify&);
|
|
/// Web service asynchronous receive of HTTP Accept acknowledgment for one-way asynchronous send operation 'send_Notify', returns SOAP_OK or error code
|
|
virtual int recv_Notify_empty_response() { return soap_recv_empty_response(this->soap); }
|
|
};
|
|
#endif
|