FXSend/MobsetApi/MobsetApiMobsetApiSoapService.h
2025-02-28 17:05:50 +08:00

206 lines
14 KiB
C++

/* MobsetApiMobsetApiSoapService.h
Generated by gSOAP 2.8.6 from MobsetApi.h
Copyright(C) 2000-2011, Robert van Engelen, Genivia Inc. All Rights Reserved.
The generated code is released under one of the following licenses:
1) GPL or 2) 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 MobsetApiMobsetApiSoapService_H
#define MobsetApiMobsetApiSoapService_H
#include "MobsetApiH.h"
namespace MobsetApi {
class SOAP_CMAC MobsetApiSoapService : public soap
{ public:
/// Constructor
MobsetApiSoapService();
/// Constructor with copy of another engine state
MobsetApiSoapService(const struct soap&);
/// Constructor with engine input+output mode control
MobsetApiSoapService(soap_mode iomode);
/// Constructor with engine input and output mode control
MobsetApiSoapService(soap_mode imode, soap_mode omode);
/// Destructor, also frees all deserialized data
virtual ~MobsetApiSoapService();
/// Delete all deserialized data (uses soap_destroy and soap_end)
virtual void destroy();
/// Initializer used by constructor
virtual void MobsetApiSoapService_init(soap_mode imode, soap_mode omode);
/// Create a copy
virtual MobsetApiSoapService *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();
/// 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();
/// 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 'Sms_Send' (returns error code or SOAP_OK)
virtual int Sms_USCORESend(_ns1__Sms_USCORESend *ns1__Sms_USCORESend, _ns1__Sms_USCORESendResponse *ns1__Sms_USCORESendResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Sms_GetRecv' (returns error code or SOAP_OK)
virtual int Sms_USCOREGetRecv(_ns1__Sms_USCOREGetRecv *ns1__Sms_USCOREGetRecv, _ns1__Sms_USCOREGetRecvResponse *ns1__Sms_USCOREGetRecvResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Sms_GetReport' (returns error code or SOAP_OK)
virtual int Sms_USCOREGetReport(_ns1__Sms_USCOREGetReport *ns1__Sms_USCOREGetReport, _ns1__Sms_USCOREGetReportResponse *ns1__Sms_USCOREGetReportResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Sms_GetSentList' (returns error code or SOAP_OK)
virtual int Sms_USCOREGetSentList(_ns1__Sms_USCOREGetSentList *ns1__Sms_USCOREGetSentList, _ns1__Sms_USCOREGetSentListResponse *ns1__Sms_USCOREGetSentListResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Sms_GetSign' (returns error code or SOAP_OK)
virtual int Sms_USCOREGetSign(_ns1__Sms_USCOREGetSign *ns1__Sms_USCOREGetSign, _ns1__Sms_USCOREGetSignResponse *ns1__Sms_USCOREGetSignResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Sms_GetBalance' (returns error code or SOAP_OK)
virtual int Sms_USCOREGetBalance(_ns1__Sms_USCOREGetBalance *ns1__Sms_USCOREGetBalance, _ns1__Sms_USCOREGetBalanceResponse *ns1__Sms_USCOREGetBalanceResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Sms_GetSentCount' (returns error code or SOAP_OK)
virtual int Sms_USCOREGetSentCount(_ns1__Sms_USCOREGetSentCount *ns1__Sms_USCOREGetSentCount, _ns1__Sms_USCOREGetSentCountResponse *ns1__Sms_USCOREGetSentCountResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Sms_Cancel' (returns error code or SOAP_OK)
virtual int Sms_USCORECancel(_ns1__Sms_USCORECancel *ns1__Sms_USCORECancel, _ns1__Sms_USCORECancelResponse *ns1__Sms_USCORECancelResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Mms_UpFile' (returns error code or SOAP_OK)
virtual int Mms_USCOREUpFile(_ns1__Mms_USCOREUpFile *ns1__Mms_USCOREUpFile, _ns1__Mms_USCOREUpFileResponse *ns1__Mms_USCOREUpFileResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Mms_GetFileStatus' (returns error code or SOAP_OK)
virtual int Mms_USCOREGetFileStatus(_ns1__Mms_USCOREGetFileStatus *ns1__Mms_USCOREGetFileStatus, _ns1__Mms_USCOREGetFileStatusResponse *ns1__Mms_USCOREGetFileStatusResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Mms_Send' (returns error code or SOAP_OK)
virtual int Mms_USCORESend(_ns1__Mms_USCORESend *ns1__Mms_USCORESend, _ns1__Mms_USCORESendResponse *ns1__Mms_USCORESendResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Mms_GetReport' (returns error code or SOAP_OK)
virtual int Mms_USCOREGetReport(_ns1__Mms_USCOREGetReport *ns1__Mms_USCOREGetReport, _ns1__Mms_USCOREGetReportResponse *ns1__Mms_USCOREGetReportResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Mms_GetRecv' (returns error code or SOAP_OK)
virtual int Mms_USCOREGetRecv(_ns1__Mms_USCOREGetRecv *ns1__Mms_USCOREGetRecv, _ns1__Mms_USCOREGetRecvResponse *ns1__Mms_USCOREGetRecvResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_UpFile' (returns error code or SOAP_OK)
virtual int Task_USCOREUpFile(_ns1__Task_USCOREUpFile *ns1__Task_USCOREUpFile, _ns1__Task_USCOREUpFileResponse *ns1__Task_USCOREUpFileResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_DelFile' (returns error code or SOAP_OK)
virtual int Task_USCOREDelFile(_ns1__Task_USCOREDelFile *ns1__Task_USCOREDelFile, _ns1__Task_USCOREDelFileResponse *ns1__Task_USCOREDelFileResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_SmsSend' (returns error code or SOAP_OK)
virtual int Task_USCORESmsSend(_ns1__Task_USCORESmsSend *ns1__Task_USCORESmsSend, _ns1__Task_USCORESmsSendResponse *ns1__Task_USCORESmsSendResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_GetSmsStatus' (returns error code or SOAP_OK)
virtual int Task_USCOREGetSmsStatus(_ns1__Task_USCOREGetSmsStatus *ns1__Task_USCOREGetSmsStatus, _ns1__Task_USCOREGetSmsStatusResponse *ns1__Task_USCOREGetSmsStatusResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_SmsStop' (returns error code or SOAP_OK)
virtual int Task_USCORESmsStop(_ns1__Task_USCORESmsStop *ns1__Task_USCORESmsStop, _ns1__Task_USCORESmsStopResponse *ns1__Task_USCORESmsStopResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_SmsStart' (returns error code or SOAP_OK)
virtual int Task_USCORESmsStart(_ns1__Task_USCORESmsStart *ns1__Task_USCORESmsStart, _ns1__Task_USCORESmsStartResponse *ns1__Task_USCORESmsStartResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_MmsSend' (returns error code or SOAP_OK)
virtual int Task_USCOREMmsSend(_ns1__Task_USCOREMmsSend *ns1__Task_USCOREMmsSend, _ns1__Task_USCOREMmsSendResponse *ns1__Task_USCOREMmsSendResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_GetMmsStatus' (returns error code or SOAP_OK)
virtual int Task_USCOREGetMmsStatus(_ns1__Task_USCOREGetMmsStatus *ns1__Task_USCOREGetMmsStatus, _ns1__Task_USCOREGetMmsStatusResponse *ns1__Task_USCOREGetMmsStatusResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_MmsStop' (returns error code or SOAP_OK)
virtual int Task_USCOREMmsStop(_ns1__Task_USCOREMmsStop *ns1__Task_USCOREMmsStop, _ns1__Task_USCOREMmsStopResponse *ns1__Task_USCOREMmsStopResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Task_MmsStart' (returns error code or SOAP_OK)
virtual int Task_USCOREMmsStart(_ns1__Task_USCOREMmsStart *ns1__Task_USCOREMmsStart, _ns1__Task_USCOREMmsStartResponse *ns1__Task_USCOREMmsStartResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_GetSmsBalance' (returns error code or SOAP_OK)
virtual int Agent_USCOREGetSmsBalance(_ns1__Agent_USCOREGetSmsBalance *ns1__Agent_USCOREGetSmsBalance, _ns1__Agent_USCOREGetSmsBalanceResponse *ns1__Agent_USCOREGetSmsBalanceResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_GetCorpSmsBalance' (returns error code or SOAP_OK)
virtual int Agent_USCOREGetCorpSmsBalance(_ns1__Agent_USCOREGetCorpSmsBalance *ns1__Agent_USCOREGetCorpSmsBalance, _ns1__Agent_USCOREGetCorpSmsBalanceResponse *ns1__Agent_USCOREGetCorpSmsBalanceResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_CorpSmsPay' (returns error code or SOAP_OK)
virtual int Agent_USCORECorpSmsPay(_ns1__Agent_USCORECorpSmsPay *ns1__Agent_USCORECorpSmsPay, _ns1__Agent_USCORECorpSmsPayResponse *ns1__Agent_USCORECorpSmsPayResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_GetUserID' (returns error code or SOAP_OK)
virtual int Agent_USCOREGetUserID(_ns1__Agent_USCOREGetUserID *ns1__Agent_USCOREGetUserID, _ns1__Agent_USCOREGetUserIDResponse *ns1__Agent_USCOREGetUserIDResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_GetUserSmsBalance' (returns error code or SOAP_OK)
virtual int Agent_USCOREGetUserSmsBalance(_ns1__Agent_USCOREGetUserSmsBalance *ns1__Agent_USCOREGetUserSmsBalance, _ns1__Agent_USCOREGetUserSmsBalanceResponse *ns1__Agent_USCOREGetUserSmsBalanceResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_SetUserSmsBalance' (returns error code or SOAP_OK)
virtual int Agent_USCORESetUserSmsBalance(_ns1__Agent_USCORESetUserSmsBalance *ns1__Agent_USCORESetUserSmsBalance, _ns1__Agent_USCORESetUserSmsBalanceResponse *ns1__Agent_USCORESetUserSmsBalanceResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_UserSmsPay' (returns error code or SOAP_OK)
virtual int Agent_USCOREUserSmsPay(_ns1__Agent_USCOREUserSmsPay *ns1__Agent_USCOREUserSmsPay, _ns1__Agent_USCOREUserSmsPayResponse *ns1__Agent_USCOREUserSmsPayResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_CorpAdd' (returns error code or SOAP_OK)
virtual int Agent_USCORECorpAdd(_ns1__Agent_USCORECorpAdd *ns1__Agent_USCORECorpAdd, _ns1__Agent_USCORECorpAddResponse *ns1__Agent_USCORECorpAddResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_CorpAddUser' (returns error code or SOAP_OK)
virtual int Agent_USCORECorpAddUser(_ns1__Agent_USCORECorpAddUser *ns1__Agent_USCORECorpAddUser, _ns1__Agent_USCORECorpAddUserResponse *ns1__Agent_USCORECorpAddUserResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_CorpSignNameApply' (returns error code or SOAP_OK)
virtual int Agent_USCORECorpSignNameApply(_ns1__Agent_USCORECorpSignNameApply *ns1__Agent_USCORECorpSignNameApply, _ns1__Agent_USCORECorpSignNameApplyResponse *ns1__Agent_USCORECorpSignNameApplyResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Agent_CorpSignNameStatus' (returns error code or SOAP_OK)
virtual int Agent_USCORECorpSignNameStatus(_ns1__Agent_USCORECorpSignNameStatus *ns1__Agent_USCORECorpSignNameStatus, _ns1__Agent_USCORECorpSignNameStatusResponse *ns1__Agent_USCORECorpSignNameStatusResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Template_Add' (returns error code or SOAP_OK)
virtual int Template_USCOREAdd(_ns1__Template_USCOREAdd *ns1__Template_USCOREAdd, _ns1__Template_USCOREAddResponse *ns1__Template_USCOREAddResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Template_Modify' (returns error code or SOAP_OK)
virtual int Template_USCOREModify(_ns1__Template_USCOREModify *ns1__Template_USCOREModify, _ns1__Template_USCOREModifyResponse *ns1__Template_USCOREModifyResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Template_Del' (returns error code or SOAP_OK)
virtual int Template_USCOREDel(_ns1__Template_USCOREDel *ns1__Template_USCOREDel, _ns1__Template_USCOREDelResponse *ns1__Template_USCOREDelResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Template_Query' (returns error code or SOAP_OK)
virtual int Template_USCOREQuery(_ns1__Template_USCOREQuery *ns1__Template_USCOREQuery, _ns1__Template_USCOREQueryResponse *ns1__Template_USCOREQueryResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Template_List' (returns error code or SOAP_OK)
virtual int Template_USCOREList(_ns1__Template_USCOREList *ns1__Template_USCOREList, _ns1__Template_USCOREListResponse *ns1__Template_USCOREListResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'Template_SendSms' (returns error code or SOAP_OK)
virtual int Template_USCORESendSms(_ns1__Template_USCORESendSms *ns1__Template_USCORESendSms, _ns1__Template_USCORESendSmsResponse *ns1__Template_USCORESendSmsResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'SignName_Apply' (returns error code or SOAP_OK)
virtual int SignName_USCOREApply(_ns1__SignName_USCOREApply *ns1__SignName_USCOREApply, _ns1__SignName_USCOREApplyResponse *ns1__SignName_USCOREApplyResponse) SOAP_PURE_VIRTUAL;
/// Web service operation 'SignName_Status' (returns error code or SOAP_OK)
virtual int SignName_USCOREStatus(_ns1__SignName_USCOREStatus *ns1__SignName_USCOREStatus, _ns1__SignName_USCOREStatusResponse *ns1__SignName_USCOREStatusResponse) SOAP_PURE_VIRTUAL;
};
} // namespace MobsetApi
#endif