Class QpidAdminServiceCallbackHandler
- java.lang.Object
-
- org.wso2.carbon.qpid.stub.service.QpidAdminServiceCallbackHandler
-
public abstract class QpidAdminServiceCallbackHandler extends Object
QpidAdminServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectclientData
-
Constructor Summary
Constructors Constructor Description QpidAdminServiceCallbackHandler()Please use this constructor if you don't want to set any clientDataQpidAdminServiceCallbackHandler(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetClientData()Get the client datavoidreceiveErrorgetAccessKey(Exception e)auto generated Axis2 Error handler override this method for handling error response from getAccessKey operationvoidreceiveErrorgetClientID(Exception e)auto generated Axis2 Error handler override this method for handling error response from getClientID operationvoidreceiveErrorgetHostname(Exception e)auto generated Axis2 Error handler override this method for handling error response from getHostname operationvoidreceiveErrorgetPort(Exception e)auto generated Axis2 Error handler override this method for handling error response from getPort operationvoidreceiveErrorgetSSLPort(Exception e)auto generated Axis2 Error handler override this method for handling error response from getSSLPort operationvoidreceiveErrorgetVirtualHostName(Exception e)auto generated Axis2 Error handler override this method for handling error response from getVirtualHostName operationvoidreceiveResultgetAccessKey(String result)auto generated Axis2 call back method for getAccessKey method override this method for handling normal response from getAccessKey operationvoidreceiveResultgetClientID(String result)auto generated Axis2 call back method for getClientID method override this method for handling normal response from getClientID operationvoidreceiveResultgetHostname(String result)auto generated Axis2 call back method for getHostname method override this method for handling normal response from getHostname operationvoidreceiveResultgetPort(String result)auto generated Axis2 call back method for getPort method override this method for handling normal response from getPort operationvoidreceiveResultgetSSLPort(String result)auto generated Axis2 call back method for getSSLPort method override this method for handling normal response from getSSLPort operationvoidreceiveResultgetVirtualHostName(String result)auto generated Axis2 call back method for getVirtualHostName method override this method for handling normal response from getVirtualHostName operation
-
-
-
Field Detail
-
clientData
protected Object clientData
-
-
Constructor Detail
-
QpidAdminServiceCallbackHandler
public QpidAdminServiceCallbackHandler(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.- Parameters:
clientData- Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.
-
QpidAdminServiceCallbackHandler
public QpidAdminServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData
-
-
Method Detail
-
getClientData
public Object getClientData()
Get the client data
-
receiveResultgetPort
public void receiveResultgetPort(String result)
auto generated Axis2 call back method for getPort method override this method for handling normal response from getPort operation
-
receiveErrorgetPort
public void receiveErrorgetPort(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getPort operation
-
receiveResultgetClientID
public void receiveResultgetClientID(String result)
auto generated Axis2 call back method for getClientID method override this method for handling normal response from getClientID operation
-
receiveErrorgetClientID
public void receiveErrorgetClientID(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getClientID operation
-
receiveResultgetHostname
public void receiveResultgetHostname(String result)
auto generated Axis2 call back method for getHostname method override this method for handling normal response from getHostname operation
-
receiveErrorgetHostname
public void receiveErrorgetHostname(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getHostname operation
-
receiveResultgetVirtualHostName
public void receiveResultgetVirtualHostName(String result)
auto generated Axis2 call back method for getVirtualHostName method override this method for handling normal response from getVirtualHostName operation
-
receiveErrorgetVirtualHostName
public void receiveErrorgetVirtualHostName(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getVirtualHostName operation
-
receiveResultgetSSLPort
public void receiveResultgetSSLPort(String result)
auto generated Axis2 call back method for getSSLPort method override this method for handling normal response from getSSLPort operation
-
receiveErrorgetSSLPort
public void receiveErrorgetSSLPort(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getSSLPort operation
-
receiveResultgetAccessKey
public void receiveResultgetAccessKey(String result)
auto generated Axis2 call back method for getAccessKey method override this method for handling normal response from getAccessKey operation
-
receiveErrorgetAccessKey
public void receiveErrorgetAccessKey(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAccessKey operation
-
-