public abstract class DTPSampleServiceCallbackHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
clientData |
| Constructor and Description |
|---|
DTPSampleServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData
|
DTPSampleServiceCallbackHandler(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 |
receiveErroraddAccountToBank1(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from addAccountToBank1 operation
|
void |
receiveErroraddAccountToBank2(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from addAccountToBank2 operation
|
void |
receiveErrorend_boxcar(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from end_boxcar operation
|
void |
receiveErrorgetAccountBalanceFromBank1(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getAccountBalanceFromBank1 operation
|
void |
receiveErrorgetAccountBalanceFromBank2(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getAccountBalanceFromBank2 operation
|
void |
receiveResultaddAccountToBank1(Entry[] result)
auto generated Axis2 call back method for addAccountToBank1 method
override this method for handling normal response from addAccountToBank1 operation
|
void |
receiveResultaddAccountToBank2(Entry[] result)
auto generated Axis2 call back method for addAccountToBank2 method
override this method for handling normal response from addAccountToBank2 operation
|
void |
receiveResultend_boxcar(org.apache.axiom.om.OMElement result)
auto generated Axis2 call back method for end_boxcar method
override this method for handling normal response from end_boxcar operation
|
void |
receiveResultgetAccountBalanceFromBank1(double result)
auto generated Axis2 call back method for getAccountBalanceFromBank1 method
override this method for handling normal response from getAccountBalanceFromBank1 operation
|
void |
receiveResultgetAccountBalanceFromBank2(double result)
auto generated Axis2 call back method for getAccountBalanceFromBank2 method
override this method for handling normal response from getAccountBalanceFromBank2 operation
|
protected Object clientData
public DTPSampleServiceCallbackHandler(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 DTPSampleServiceCallbackHandler()
public Object getClientData()
public void receiveResultend_boxcar(org.apache.axiom.om.OMElement result)
public void receiveErrorend_boxcar(Exception e)
public void receiveResultaddAccountToBank1(Entry[] result)
public void receiveErroraddAccountToBank1(Exception e)
public void receiveResultaddAccountToBank2(Entry[] result)
public void receiveErroraddAccountToBank2(Exception e)
public void receiveResultgetAccountBalanceFromBank2(double result)
public void receiveErrorgetAccountBalanceFromBank2(Exception e)
public void receiveResultgetAccountBalanceFromBank1(double result)
public void receiveErrorgetAccountBalanceFromBank1(Exception e)
Copyright © 2018 WSO2. All rights reserved.