
/**
 * WSDL2CodeServiceCallbackHandler.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.6.1-wso2v51  Built on : May 13, 2020 (03:20:44 UTC)
 */

    package org.wso2.carbon.wsdl2code.stub;

    /**
     *  WSDL2CodeServiceCallbackHandler Callback class, Users can extend this class and implement
     *  their own receiveResult and receiveError methods.
     */
    public abstract class WSDL2CodeServiceCallbackHandler{



    protected Object clientData;

    /**
    * User can pass in any object that needs to be accessed once the NonBlocking
    * Web service call is finished and appropriate method of this CallBack is called.
    * @param clientData Object mechanism by which the user can pass in user data
    * that will be avilable at the time this callback is called.
    */
    public WSDL2CodeServiceCallbackHandler(Object clientData){
        this.clientData = clientData;
    }

    /**
    * Please use this constructor if you don't want to set any clientData
    */
    public WSDL2CodeServiceCallbackHandler(){
        this.clientData = null;
    }

    /**
     * Get the client data
     */

     public Object getClientData() {
        return clientData;
     }

        
           /**
            * auto generated Axis2 call back method for codegen method
            * override this method for handling normal response from codegen operation
            */
           public void receiveResultcodegen(
                    org.wso2.carbon.wsdl2code.stub.types.carbon.CodegenDownloadData result
                        ) {
           }

          /**
           * auto generated Axis2 Error handler
           * override this method for handling error response from codegen operation
           */
            public void receiveErrorcodegen(java.lang.Exception e) {
            }
                
           /**
            * auto generated Axis2 call back method for codegenForCXF method
            * override this method for handling normal response from codegenForCXF operation
            */
           public void receiveResultcodegenForCXF(
                    org.wso2.carbon.wsdl2code.stub.types.carbon.CodegenDownloadData result
                        ) {
           }

          /**
           * auto generated Axis2 Error handler
           * override this method for handling error response from codegenForCXF operation
           */
            public void receiveErrorcodegenForCXF(java.lang.Exception e) {
            }
                


    }
    