Salome HOME
original file names are kept, v2
[tools/simanio.git] / src / ISimanSalomeServiceCallback.h
1
2
3 #ifndef ISIMANSALOMESERVICECALLBACK_H
4 #define ISIMANSALOMESERVICECALLBACK_H
5 /**
6  * ISimanSalomeServiceCallback.h
7  *
8  * This file was auto-generated from WSDL
9  * by the Apache Axis2 version: 1.0  Built on : Nov 21, 2012 (01:42:27 MSK)
10  */
11        
12 #include "CreateConfigFileResponse.h"
13         
14 #include "PutFileResponse.h"
15         
16 #include "CheckInResponse.h"
17         
18 #include "GetFileResponse.h"
19         
20
21 #include "SimanSalomeServiceStub.h" 
22
23  namespace org_splat_ws_server_service_salome
24    {
25
26     /**
27      *  ISimanSalomeServiceCallback Callback class, Users can extend this class and implement
28      *  their own receiveResult and receiveError methods.
29      */
30
31     class ISimanSalomeServiceCallback
32 {
33
34
35     protected:
36
37     void* clientData;
38
39     public:
40
41     /**
42     * User can pass in any object that needs to be accessed once the NonBlocking
43     * Web service call is finished and appropriate method of this CallBack is called.
44     * @param clientData Object mechanism by which the user can pass in user data
45     * that will be available at the time this callback is called.
46     */
47     ISimanSalomeServiceCallback(void* clientData);
48
49     /**
50     * Please use this constructor if you don't want to set any clientData
51     */
52     ISimanSalomeServiceCallback();
53
54
55     /**
56      * Get the client data
57      */
58
59      void* getClientData();
60
61     
62            /**
63             * auto generated WSF/C++ call back method for createConfigFile method
64             * override this method for handling normal response from createConfigFile operation
65             */
66           virtual void receiveResult_createConfigFile(
67               
68                     org_splat_ws_server_service_salome::CreateConfigFileResponse* result
69                     
70                     ){}
71
72
73           /**
74            * auto generated WSF/C++ Error handler
75            * override this method for handling error response from createConfigFile operation
76            */
77            virtual void receiveError_createConfigFile(int exception){}
78             
79            /**
80             * auto generated WSF/C++ call back method for putFile method
81             * override this method for handling normal response from putFile operation
82             */
83           virtual void receiveResult_putFile(
84               
85                     org_splat_ws_server_service_salome::PutFileResponse* result
86                     
87                     ){}
88
89
90           /**
91            * auto generated WSF/C++ Error handler
92            * override this method for handling error response from putFile operation
93            */
94            virtual void receiveError_putFile(int exception){}
95             
96            /**
97             * auto generated WSF/C++ call back method for checkIn method
98             * override this method for handling normal response from checkIn operation
99             */
100           virtual void receiveResult_checkIn(
101               
102                     org_splat_ws_server_service_salome::CheckInResponse* result
103                     
104                     ){}
105
106
107           /**
108            * auto generated WSF/C++ Error handler
109            * override this method for handling error response from checkIn operation
110            */
111            virtual void receiveError_checkIn(int exception){}
112             
113            /**
114             * auto generated WSF/C++ call back method for getFile method
115             * override this method for handling normal response from getFile operation
116             */
117           virtual void receiveResult_getFile(
118               
119                     org_splat_ws_server_service_salome::GetFileResponse* result
120                     
121                     ){}
122
123
124           /**
125            * auto generated WSF/C++ Error handler
126            * override this method for handling error response from getFile operation
127            */
128            virtual void receiveError_getFile(int exception){}
129             
130
131
132     };
133 }
134
135 #endif  //ISIMANSALOMESERVICECALLBACK_H
136     
137