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.
 
 
 
 
 
 

136 lines
8.6 KiB

/* soapRecordingBindingService.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 soapRecordingBindingService_H
#define soapRecordingBindingService_H
#include "soapH.h"
class SOAP_CMAC RecordingBindingService : public soap
{ public:
/// Constructor
RecordingBindingService();
/// Construct from another engine state
RecordingBindingService(const struct soap&);
/// Constructor with engine input+output mode control
RecordingBindingService(soap_mode iomode);
/// Constructor with engine input and output mode control
RecordingBindingService(soap_mode imode, soap_mode omode);
/// Destructor, also frees all deserialized data
virtual ~RecordingBindingService();
/// 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 constructor
virtual void RecordingBindingService_init(soap_mode imode, soap_mode omode);
/// Create a copy
virtual RecordingBindingService *copy() SOAP_PURE_VIRTUAL;
/// 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
/// 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
/// 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();
/// Run simple single-thread iterative service on port until a connection error occurs (returns error code or SOAP_OK), use this->bind_flag = SO_REUSEADDR to rebind for a rerun
virtual int run(int port);
/// Bind service to port (returns master socket or SOAP_INVALID_SOCKET)
virtual SOAP_SOCKET bind(const char *host, int port, int backlog);
/// Accept next request (returns socket or SOAP_INVALID_SOCKET)
virtual SOAP_SOCKET accept();
#if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
/// Then accept SSL handshake, when SSL is used
virtual int ssl_accept();
#endif
/// Serve this request (returns error code or SOAP_OK)
virtual int serve();
/// Used by serve() to dispatch a request (returns error code or SOAP_OK)
virtual int dispatch();
///
/// Service operations (you should define these):
/// Note: compile with -DWITH_PURE_VIRTUAL for pure virtual methods
///
/// Web service operation 'GetServiceCapabilities' (returns error code or SOAP_OK)
virtual int GetServiceCapabilities(_trc__GetServiceCapabilities *trc__GetServiceCapabilities, _trc__GetServiceCapabilitiesResponse *trc__GetServiceCapabilitiesResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'CreateRecording' (returns error code or SOAP_OK)
virtual int CreateRecording(_trc__CreateRecording *trc__CreateRecording, _trc__CreateRecordingResponse *trc__CreateRecordingResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'DeleteRecording' (returns error code or SOAP_OK)
virtual int DeleteRecording(_trc__DeleteRecording *trc__DeleteRecording, _trc__DeleteRecordingResponse *trc__DeleteRecordingResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'GetRecordings' (returns error code or SOAP_OK)
virtual int GetRecordings(_trc__GetRecordings *trc__GetRecordings, _trc__GetRecordingsResponse *trc__GetRecordingsResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'SetRecordingConfiguration' (returns error code or SOAP_OK)
virtual int SetRecordingConfiguration(_trc__SetRecordingConfiguration *trc__SetRecordingConfiguration, _trc__SetRecordingConfigurationResponse *trc__SetRecordingConfigurationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'GetRecordingConfiguration' (returns error code or SOAP_OK)
virtual int GetRecordingConfiguration(_trc__GetRecordingConfiguration *trc__GetRecordingConfiguration, _trc__GetRecordingConfigurationResponse *trc__GetRecordingConfigurationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'GetRecordingOptions' (returns error code or SOAP_OK)
virtual int GetRecordingOptions(_trc__GetRecordingOptions *trc__GetRecordingOptions, _trc__GetRecordingOptionsResponse *trc__GetRecordingOptionsResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'CreateTrack' (returns error code or SOAP_OK)
virtual int CreateTrack(_trc__CreateTrack *trc__CreateTrack, _trc__CreateTrackResponse *trc__CreateTrackResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'DeleteTrack' (returns error code or SOAP_OK)
virtual int DeleteTrack(_trc__DeleteTrack *trc__DeleteTrack, _trc__DeleteTrackResponse *trc__DeleteTrackResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'GetTrackConfiguration' (returns error code or SOAP_OK)
virtual int GetTrackConfiguration(_trc__GetTrackConfiguration *trc__GetTrackConfiguration, _trc__GetTrackConfigurationResponse *trc__GetTrackConfigurationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'SetTrackConfiguration' (returns error code or SOAP_OK)
virtual int SetTrackConfiguration(_trc__SetTrackConfiguration *trc__SetTrackConfiguration, _trc__SetTrackConfigurationResponse *trc__SetTrackConfigurationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'CreateRecordingJob' (returns error code or SOAP_OK)
virtual int CreateRecordingJob(_trc__CreateRecordingJob *trc__CreateRecordingJob, _trc__CreateRecordingJobResponse *trc__CreateRecordingJobResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'DeleteRecordingJob' (returns error code or SOAP_OK)
virtual int DeleteRecordingJob(_trc__DeleteRecordingJob *trc__DeleteRecordingJob, _trc__DeleteRecordingJobResponse *trc__DeleteRecordingJobResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'GetRecordingJobs' (returns error code or SOAP_OK)
virtual int GetRecordingJobs(_trc__GetRecordingJobs *trc__GetRecordingJobs, _trc__GetRecordingJobsResponse *trc__GetRecordingJobsResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'SetRecordingJobConfiguration' (returns error code or SOAP_OK)
virtual int SetRecordingJobConfiguration(_trc__SetRecordingJobConfiguration *trc__SetRecordingJobConfiguration, _trc__SetRecordingJobConfigurationResponse *trc__SetRecordingJobConfigurationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'GetRecordingJobConfiguration' (returns error code or SOAP_OK)
virtual int GetRecordingJobConfiguration(_trc__GetRecordingJobConfiguration *trc__GetRecordingJobConfiguration, _trc__GetRecordingJobConfigurationResponse *trc__GetRecordingJobConfigurationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'SetRecordingJobMode' (returns error code or SOAP_OK)
virtual int SetRecordingJobMode(_trc__SetRecordingJobMode *trc__SetRecordingJobMode, _trc__SetRecordingJobModeResponse *trc__SetRecordingJobModeResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'GetRecordingJobState' (returns error code or SOAP_OK)
virtual int GetRecordingJobState(_trc__GetRecordingJobState *trc__GetRecordingJobState, _trc__GetRecordingJobStateResponse *trc__GetRecordingJobStateResponse) SOAP_PURE_VIRTUAL;
};
#endif