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.
124 lines
7.4 KiB
124 lines
7.4 KiB
/* soapSearchBindingService.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 soapSearchBindingService_H
|
|
#define soapSearchBindingService_H
|
|
#include "soapH.h"
|
|
class SOAP_CMAC SearchBindingService : public soap
|
|
{ public:
|
|
/// Constructor
|
|
SearchBindingService();
|
|
/// Construct from another engine state
|
|
SearchBindingService(const struct soap&);
|
|
/// Constructor with engine input+output mode control
|
|
SearchBindingService(soap_mode iomode);
|
|
/// Constructor with engine input and output mode control
|
|
SearchBindingService(soap_mode imode, soap_mode omode);
|
|
/// Destructor, also frees all deserialized data
|
|
virtual ~SearchBindingService();
|
|
/// 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 SearchBindingService_init(soap_mode imode, soap_mode omode);
|
|
/// Create a copy
|
|
virtual SearchBindingService *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(_tse__GetServiceCapabilities *tse__GetServiceCapabilities, _tse__GetServiceCapabilitiesResponse *tse__GetServiceCapabilitiesResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'GetRecordingSummary' (returns error code or SOAP_OK)
|
|
virtual int GetRecordingSummary(_tse__GetRecordingSummary *tse__GetRecordingSummary, _tse__GetRecordingSummaryResponse *tse__GetRecordingSummaryResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'GetRecordingInformation' (returns error code or SOAP_OK)
|
|
virtual int GetRecordingInformation(_tse__GetRecordingInformation *tse__GetRecordingInformation, _tse__GetRecordingInformationResponse *tse__GetRecordingInformationResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'GetMediaAttributes' (returns error code or SOAP_OK)
|
|
virtual int GetMediaAttributes(_tse__GetMediaAttributes *tse__GetMediaAttributes, _tse__GetMediaAttributesResponse *tse__GetMediaAttributesResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'FindRecordings' (returns error code or SOAP_OK)
|
|
virtual int FindRecordings(_tse__FindRecordings *tse__FindRecordings, _tse__FindRecordingsResponse *tse__FindRecordingsResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'GetRecordingSearchResults' (returns error code or SOAP_OK)
|
|
virtual int GetRecordingSearchResults(_tse__GetRecordingSearchResults *tse__GetRecordingSearchResults, _tse__GetRecordingSearchResultsResponse *tse__GetRecordingSearchResultsResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'FindEvents' (returns error code or SOAP_OK)
|
|
virtual int FindEvents(_tse__FindEvents *tse__FindEvents, _tse__FindEventsResponse *tse__FindEventsResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'GetEventSearchResults' (returns error code or SOAP_OK)
|
|
virtual int GetEventSearchResults(_tse__GetEventSearchResults *tse__GetEventSearchResults, _tse__GetEventSearchResultsResponse *tse__GetEventSearchResultsResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'FindPTZPosition' (returns error code or SOAP_OK)
|
|
virtual int FindPTZPosition(_tse__FindPTZPosition *tse__FindPTZPosition, _tse__FindPTZPositionResponse *tse__FindPTZPositionResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'GetPTZPositionSearchResults' (returns error code or SOAP_OK)
|
|
virtual int GetPTZPositionSearchResults(_tse__GetPTZPositionSearchResults *tse__GetPTZPositionSearchResults, _tse__GetPTZPositionSearchResultsResponse *tse__GetPTZPositionSearchResultsResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'GetSearchState' (returns error code or SOAP_OK)
|
|
virtual int GetSearchState(_tse__GetSearchState *tse__GetSearchState, _tse__GetSearchStateResponse *tse__GetSearchStateResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'EndSearch' (returns error code or SOAP_OK)
|
|
virtual int EndSearch(_tse__EndSearch *tse__EndSearch, _tse__EndSearchResponse *tse__EndSearchResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'FindMetadata' (returns error code or SOAP_OK)
|
|
virtual int FindMetadata(_tse__FindMetadata *tse__FindMetadata, _tse__FindMetadataResponse *tse__FindMetadataResponse) SOAP_PURE_VIRTUAL;
|
|
|
|
/// Web service operation 'GetMetadataSearchResults' (returns error code or SOAP_OK)
|
|
virtual int GetMetadataSearchResults(_tse__GetMetadataSearchResults *tse__GetMetadataSearchResults, _tse__GetMetadataSearchResultsResponse *tse__GetMetadataSearchResultsResponse) SOAP_PURE_VIRTUAL;
|
|
};
|
|
#endif
|