View Javadoc

1   
2   /**
3    * DelegationServiceCallbackHandler.java
4    *
5    * This file was auto-generated from WSDL
6    * by the Apache Axis2 version: 1.6.2  Built on : Apr 17, 2012 (05:33:49 IST)
7    */
8   
9       package org.glite.ce.security.delegation;
10  
11      /**
12       *  DelegationServiceCallbackHandler Callback class, Users can extend this class and implement
13       *  their own receiveResult and receiveError methods.
14       */
15      public abstract class DelegationServiceCallbackHandler{
16  
17  
18  
19      protected Object clientData;
20  
21      /**
22      * User can pass in any object that needs to be accessed once the NonBlocking
23      * Web service call is finished and appropriate method of this CallBack is called.
24      * @param clientData Object mechanism by which the user can pass in user data
25      * that will be avilable at the time this callback is called.
26      */
27      public DelegationServiceCallbackHandler(Object clientData){
28          this.clientData = clientData;
29      }
30  
31      /**
32      * Please use this constructor if you don't want to set any clientData
33      */
34      public DelegationServiceCallbackHandler(){
35          this.clientData = null;
36      }
37  
38      /**
39       * Get the client data
40       */
41  
42       public Object getClientData() {
43          return clientData;
44       }
45  
46          
47             /**
48              * auto generated Axis2 call back method for getProxyReq method
49              * override this method for handling normal response from getProxyReq operation
50              */
51             public void receiveResultgetProxyReq(
52                      org.glite.ce.security.delegation.DelegationServiceStub.GetProxyReqResponse result
53                          ) {
54             }
55  
56            /**
57             * auto generated Axis2 Error handler
58             * override this method for handling error response from getProxyReq operation
59             */
60              public void receiveErrorgetProxyReq(java.lang.Exception e) {
61              }
62                  
63             /**
64              * auto generated Axis2 call back method for destroy method
65              * override this method for handling normal response from destroy operation
66              */
67             public void receiveResultdestroy(
68                      org.glite.ce.security.delegation.DelegationServiceStub.DestroyResponse result
69                          ) {
70             }
71  
72            /**
73             * auto generated Axis2 Error handler
74             * override this method for handling error response from destroy operation
75             */
76              public void receiveErrordestroy(java.lang.Exception e) {
77              }
78                  
79             /**
80              * auto generated Axis2 call back method for renewProxyReq method
81              * override this method for handling normal response from renewProxyReq operation
82              */
83             public void receiveResultrenewProxyReq(
84                      org.glite.ce.security.delegation.DelegationServiceStub.RenewProxyReqResponse result
85                          ) {
86             }
87  
88            /**
89             * auto generated Axis2 Error handler
90             * override this method for handling error response from renewProxyReq operation
91             */
92              public void receiveErrorrenewProxyReq(java.lang.Exception e) {
93              }
94                  
95             /**
96              * auto generated Axis2 call back method for getNewProxyReq method
97              * override this method for handling normal response from getNewProxyReq operation
98              */
99             public void receiveResultgetNewProxyReq(
100                     org.glite.ce.security.delegation.DelegationServiceStub.GetNewProxyReqResponse result
101                         ) {
102            }
103 
104           /**
105            * auto generated Axis2 Error handler
106            * override this method for handling error response from getNewProxyReq operation
107            */
108             public void receiveErrorgetNewProxyReq(java.lang.Exception e) {
109             }
110                 
111            /**
112             * auto generated Axis2 call back method for getServiceMetadata method
113             * override this method for handling normal response from getServiceMetadata operation
114             */
115            public void receiveResultgetServiceMetadata(
116                     org.glite.ce.security.delegation.DelegationServiceStub.GetServiceMetadataResponse result
117                         ) {
118            }
119 
120           /**
121            * auto generated Axis2 Error handler
122            * override this method for handling error response from getServiceMetadata operation
123            */
124             public void receiveErrorgetServiceMetadata(java.lang.Exception e) {
125             }
126                 
127            /**
128             * auto generated Axis2 call back method for putProxy method
129             * override this method for handling normal response from putProxy operation
130             */
131            public void receiveResultputProxy(
132                     org.glite.ce.security.delegation.DelegationServiceStub.PutProxyResponse result
133                         ) {
134            }
135 
136           /**
137            * auto generated Axis2 Error handler
138            * override this method for handling error response from putProxy operation
139            */
140             public void receiveErrorputProxy(java.lang.Exception e) {
141             }
142                 
143            /**
144             * auto generated Axis2 call back method for getVersion method
145             * override this method for handling normal response from getVersion operation
146             */
147            public void receiveResultgetVersion(
148                     org.glite.ce.security.delegation.DelegationServiceStub.GetVersionResponse result
149                         ) {
150            }
151 
152           /**
153            * auto generated Axis2 Error handler
154            * override this method for handling error response from getVersion operation
155            */
156             public void receiveErrorgetVersion(java.lang.Exception e) {
157             }
158                 
159            /**
160             * auto generated Axis2 call back method for getTerminationTime method
161             * override this method for handling normal response from getTerminationTime operation
162             */
163            public void receiveResultgetTerminationTime(
164                     org.glite.ce.security.delegation.DelegationServiceStub.GetTerminationTimeResponse result
165                         ) {
166            }
167 
168           /**
169            * auto generated Axis2 Error handler
170            * override this method for handling error response from getTerminationTime operation
171            */
172             public void receiveErrorgetTerminationTime(java.lang.Exception e) {
173             }
174                 
175            /**
176             * auto generated Axis2 call back method for getInterfaceVersion method
177             * override this method for handling normal response from getInterfaceVersion operation
178             */
179            public void receiveResultgetInterfaceVersion(
180                     org.glite.ce.security.delegation.DelegationServiceStub.GetInterfaceVersionResponse result
181                         ) {
182            }
183 
184           /**
185            * auto generated Axis2 Error handler
186            * override this method for handling error response from getInterfaceVersion operation
187            */
188             public void receiveErrorgetInterfaceVersion(java.lang.Exception e) {
189             }
190                 
191 
192 
193     }
194