/* soapPullPointSubscriptionBindingService.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 soapPullPointSubscriptionBindingService_H #define soapPullPointSubscriptionBindingService_H #include "soapH.h" class SOAP_CMAC PullPointSubscriptionBindingService { public: /// Context to manage service IO and data struct soap *soap; /// flag indicating that this context is owned by this service and should be deleted by the destructor bool soap_own; /// Variables globally declared in gen/onvif.h, if any /// Construct a service with new managing context PullPointSubscriptionBindingService(); /// Copy constructor PullPointSubscriptionBindingService(const PullPointSubscriptionBindingService&); /// Construct service given a shared managing context PullPointSubscriptionBindingService(struct soap*); /// Constructor taking input+output mode flags for the new managing context PullPointSubscriptionBindingService(soap_mode iomode); /// Constructor taking input and output mode flags for the new managing context PullPointSubscriptionBindingService(soap_mode imode, soap_mode omode); /// Destructor deletes deserialized data and its managing context, when the context was allocated by the constructor virtual ~PullPointSubscriptionBindingService(); /// Delete all deserialized data (with soap_destroy() and soap_end()) virtual void destroy(); /// Delete all deserialized data and reset to defaults virtual void reset(); /// Initializer used by constructors virtual void PullPointSubscriptionBindingService_init(soap_mode imode, soap_mode omode); /// Return a copy that has a new managing context with the same engine state virtual PullPointSubscriptionBindingService *copy() SOAP_PURE_VIRTUAL_COPY; /// Copy assignment PullPointSubscriptionBindingService& operator=(const PullPointSubscriptionBindingService&); /// Close connection (normally automatic) virtual int soap_close_socket(); /// Force close connection (can kill a thread blocked on IO) virtual int soap_force_close_socket(); /// Return sender-related fault to sender virtual int soap_senderfault(const char *string, const char *detailXML); /// Return sender-related fault with SOAP 1.2 subcode to sender virtual int soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML); /// Return receiver-related fault to sender virtual int soap_receiverfault(const char *string, const char *detailXML); /// Return receiver-related fault with SOAP 1.2 subcode to sender virtual int soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML); /// 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 /// 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(); #ifndef WITH_NOIO /// Run simple single-thread (iterative, non-SSL) service on port until a connection error occurs (returns SOAP_OK or error code), use this->bind_flag = SO_REUSEADDR to rebind for immediate rerun virtual int run(int port, int backlog = 1); #if defined(WITH_OPENSSL) || defined(WITH_GNUTLS) /// Run simple single-thread SSL service on port until a connection error occurs (returns SOAP_OK or error code), use this->bind_flag = SO_REUSEADDR to rebind for immediate rerun virtual int ssl_run(int port, int backlog = 1); #endif /// Bind service to port (returns master socket or SOAP_INVALID_SOCKET upon error) virtual SOAP_SOCKET bind(const char *host, int port, int backlog); /// Accept next request (returns socket or SOAP_INVALID_SOCKET upon error) virtual SOAP_SOCKET accept(); #if defined(WITH_OPENSSL) || defined(WITH_GNUTLS) /// When SSL is used, after accept() should perform and accept SSL handshake virtual int ssl_accept(); #endif #endif /// After accept() serve the pending request (returns SOAP_OK or error code) virtual int serve(); /// Used by serve() to dispatch a pending request (returns SOAP_OK or error code) virtual int dispatch(); virtual int dispatch(struct soap *soap); // // Service operations are listed below: you should define these // Note: compile with -DWITH_PURE_VIRTUAL to declare pure virtual methods // /// Web service operation 'PullMessages' implementation, should return SOAP_OK or error code virtual int PullMessages(_tev__PullMessages *tev__PullMessages, _tev__PullMessagesResponse &tev__PullMessagesResponse) SOAP_PURE_VIRTUAL; // /// Web service operation 'Seek' implementation, should return SOAP_OK or error code virtual int Seek(_tev__Seek *tev__Seek, _tev__SeekResponse &tev__SeekResponse) SOAP_PURE_VIRTUAL; // /// Web service operation 'SetSynchronizationPoint' implementation, should return SOAP_OK or error code virtual int SetSynchronizationPoint(_tev__SetSynchronizationPoint *tev__SetSynchronizationPoint, _tev__SetSynchronizationPointResponse &tev__SetSynchronizationPointResponse) SOAP_PURE_VIRTUAL; }; #endif