public abstract class NestedQuerySampleCallbackHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected Object |
clientData |
Constructor and Description |
---|
NestedQuerySampleCallbackHandler()
Please use this constructor if you don't want to set any clientData
|
NestedQuerySampleCallbackHandler(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.
|
Modifier and Type | Method and Description |
---|---|
Object |
getClientData()
Get the client data
|
void |
receiveErrorcustomerName(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from customerName operation
|
void |
receiveErrorcustomerOrders(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from customerOrders operation
|
void |
receiveErroremployeesInOffice(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from employeesInOffice operation
|
void |
receiveErrorlistOffices(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from listOffices operation
|
void |
receiveResultcustomerName(String result)
auto generated Axis2 call back method for customerName method
override this method for handling normal response from customerName operation
|
void |
receiveResultcustomerOrders(Order[] result)
auto generated Axis2 call back method for customerOrders method
override this method for handling normal response from customerOrders operation
|
void |
receiveResultemployeesInOffice(Employee[] result)
auto generated Axis2 call back method for employeesInOffice method
override this method for handling normal response from employeesInOffice operation
|
void |
receiveResultlistOffices(Office[] result)
auto generated Axis2 call back method for listOffices method
override this method for handling normal response from listOffices operation
|
protected Object clientData
public NestedQuerySampleCallbackHandler(Object clientData)
clientData
- Object mechanism by which the user can pass in user data
that will be avilable at the time this callback is called.public NestedQuerySampleCallbackHandler()
public Object getClientData()
public void receiveResultcustomerOrders(Order[] result)
public void receiveErrorcustomerOrders(Exception e)
public void receiveResultcustomerName(String result)
public void receiveErrorcustomerName(Exception e)
public void receiveResultlistOffices(Office[] result)
public void receiveErrorlistOffices(Exception e)
public void receiveResultemployeesInOffice(Employee[] result)
public void receiveErroremployeesInOffice(Exception e)
Copyright © 2015 WSO2 Inc. All rights reserved.