Commit dc7240ef authored by Gozutok, Recep's avatar Gozutok, Recep
Browse files

Upload New File

parent 40ad504c
/* soapCentralSystemServiceSoapService.h
Generated by gSOAP 2.8.28 from Service.h
gSOAP XML Web services tools
Copyright (C) 2000-2016, 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 soapCentralSystemServiceSoapService_H
#define soapCentralSystemServiceSoapService_H
#include "soapH.h"
class SOAP_CMAC CentralSystemServiceSoapService : public soap
{ public:
/// Variables globally declared in Service.h (non-static)
/// Constructor
CentralSystemServiceSoapService();
/// Copy constructor
CentralSystemServiceSoapService(const CentralSystemServiceSoapService&);
/// Construct from another engine state
CentralSystemServiceSoapService(const struct soap&);
/// Constructor with engine input+output mode control
CentralSystemServiceSoapService(soap_mode iomode);
/// Constructor with engine input and output mode control
CentralSystemServiceSoapService(soap_mode imode, soap_mode omode);
/// Destructor deletes deserialized data and engine context
virtual ~CentralSystemServiceSoapService();
/// 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 CentralSystemServiceSoapService_init(soap_mode imode, soap_mode omode);
/// Create a new copy
virtual CentralSystemServiceSoapService *copy() SOAP_PURE_VIRTUAL;
/// Copy assignment
CentralSystemServiceSoapService& operator=(const CentralSystemServiceSoapService&);
/// 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(std::string *ns2__chargeBoxIdentity, 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, non-SSL) 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);
#if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
/// Run simple single-thread SSL 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 ssl_run(int port);
#endif
/// 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 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 'Authorize' (returns error code or SOAP_OK)
virtual int Authorize(ns2__AuthorizeRequest *ns2__authorizeRequest, ns2__AuthorizeResponse &ns2__authorizeResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'StartTransaction' (returns error code or SOAP_OK)
virtual int StartTransaction(ns2__StartTransactionRequest *ns2__startTransactionRequest, ns2__StartTransactionResponse &ns2__startTransactionResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'StopTransaction' (returns error code or SOAP_OK)
virtual int StopTransaction(ns2__StopTransactionRequest *ns2__stopTransactionRequest, ns2__StopTransactionResponse &ns2__stopTransactionResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Heartbeat' (returns error code or SOAP_OK)
virtual int Heartbeat(ns2__HeartbeatRequest *ns2__heartbeatRequest, ns2__HeartbeatResponse &ns2__heartbeatResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'MeterValues' (returns error code or SOAP_OK)
virtual int MeterValues(ns2__MeterValuesRequest *ns2__meterValuesRequest, ns2__MeterValuesResponse &ns2__meterValuesResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'BootNotification' (returns error code or SOAP_OK)
virtual int BootNotification(ns2__BootNotificationRequest *ns2__bootNotificationRequest, ns2__BootNotificationResponse &ns2__bootNotificationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'StatusNotification' (returns error code or SOAP_OK)
virtual int StatusNotification(ns2__StatusNotificationRequest *ns2__statusNotificationRequest, ns2__StatusNotificationResponse &ns2__statusNotificationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'FirmwareStatusNotification' (returns error code or SOAP_OK)
virtual int FirmwareStatusNotification(ns2__FirmwareStatusNotificationRequest *ns2__firmwareStatusNotificationRequest, ns2__FirmwareStatusNotificationResponse &ns2__firmwareStatusNotificationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'DiagnosticsStatusNotification' (returns error code or SOAP_OK)
virtual int DiagnosticsStatusNotification(ns2__DiagnosticsStatusNotificationRequest *ns2__diagnosticsStatusNotificationRequest, ns2__DiagnosticsStatusNotificationResponse &ns2__diagnosticsStatusNotificationResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'DataTransfer' (returns error code or SOAP_OK)
virtual int DataTransfer(ns2__DataTransferRequest *ns2__dataTransferRequest, ns2__DataTransferResponse &ns2__dataTransferResponse) SOAP_PURE_VIRTUAL;
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment