Class AndesEventAdminServiceCallbackHandler

java.lang.Object
org.wso2.carbon.andes.event.stub.service.AndesEventAdminServiceCallbackHandler

public abstract class AndesEventAdminServiceCallbackHandler extends Object
AndesEventAdminServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
  • Field Details

    • clientData

      protected Object clientData
  • Constructor Details

    • AndesEventAdminServiceCallbackHandler

      public AndesEventAdminServiceCallbackHandler(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.
    • AndesEventAdminServiceCallbackHandler

      public AndesEventAdminServiceCallbackHandler()
      Please use this constructor if you don't want to set any clientData
  • Method Details

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultcheckUserHasAddTopicPermission

      public void receiveResultcheckUserHasAddTopicPermission(boolean result)
      auto generated Axis2 call back method for checkUserHasAddTopicPermission method override this method for handling normal response from checkUserHasAddTopicPermission operation
    • receiveErrorcheckUserHasAddTopicPermission

      public void receiveErrorcheckUserHasAddTopicPermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from checkUserHasAddTopicPermission operation
    • receiveResultcheckCurrentUserHasPublishTopicPermission

      public void receiveResultcheckCurrentUserHasPublishTopicPermission(boolean result)
      auto generated Axis2 call back method for checkCurrentUserHasPublishTopicPermission method override this method for handling normal response from checkCurrentUserHasPublishTopicPermission operation
    • receiveErrorcheckCurrentUserHasPublishTopicPermission

      public void receiveErrorcheckCurrentUserHasPublishTopicPermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from checkCurrentUserHasPublishTopicPermission operation
    • receiveResultgetAllWSSubscriptionCountForTopic

      public void receiveResultgetAllWSSubscriptionCountForTopic(int result)
      auto generated Axis2 call back method for getAllWSSubscriptionCountForTopic method override this method for handling normal response from getAllWSSubscriptionCountForTopic operation
    • receiveErrorgetAllWSSubscriptionCountForTopic

      public void receiveErrorgetAllWSSubscriptionCountForTopic(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getAllWSSubscriptionCountForTopic operation
    • receiveResultgetTopicRolePermissions

      public void receiveResultgetTopicRolePermissions(TopicRolePermission[] result)
      auto generated Axis2 call back method for getTopicRolePermissions method override this method for handling normal response from getTopicRolePermissions operation
    • receiveErrorgetTopicRolePermissions

      public void receiveErrorgetTopicRolePermissions(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getTopicRolePermissions operation
    • receiveResultpublishToTopic

      public void receiveResultpublishToTopic()
      auto generated Axis2 call back method for publishToTopic method override this method for handling normal response from publishToTopic operation
    • receiveErrorpublishToTopic

      public void receiveErrorpublishToTopic(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from publishToTopic operation
    • receiveResultgetAllWSSubscriptionsForTopic

      public void receiveResultgetAllWSSubscriptionsForTopic(Subscription[] result)
      auto generated Axis2 call back method for getAllWSSubscriptionsForTopic method override this method for handling normal response from getAllWSSubscriptionsForTopic operation
    • receiveErrorgetAllWSSubscriptionsForTopic

      public void receiveErrorgetAllWSSubscriptionsForTopic(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getAllWSSubscriptionsForTopic operation
    • receiveResultgetAllTopics

      public void receiveResultgetAllTopics(TopicNode result)
      auto generated Axis2 call back method for getAllTopics method override this method for handling normal response from getAllTopics operation
    • receiveErrorgetAllTopics

      public void receiveErrorgetAllTopics(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getAllTopics operation
    • receiveResultgetUserRoles

      public void receiveResultgetUserRoles(String[] result)
      auto generated Axis2 call back method for getUserRoles method override this method for handling normal response from getUserRoles operation
    • receiveErrorgetUserRoles

      public void receiveErrorgetUserRoles(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getUserRoles operation
    • receiveResultremoveTopic

      public void receiveResultremoveTopic(boolean result)
      auto generated Axis2 call back method for removeTopic method override this method for handling normal response from removeTopic operation
    • receiveErrorremoveTopic

      public void receiveErrorremoveTopic(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from removeTopic operation
    • receiveResultcheckUserHasPublishTopicPermission

      public void receiveResultcheckUserHasPublishTopicPermission(boolean result)
      auto generated Axis2 call back method for checkUserHasPublishTopicPermission method override this method for handling normal response from checkUserHasPublishTopicPermission operation
    • receiveErrorcheckUserHasPublishTopicPermission

      public void receiveErrorcheckUserHasPublishTopicPermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from checkUserHasPublishTopicPermission operation
    • receiveResultgetJMSSubscriptionsForTopic

      public void receiveResultgetJMSSubscriptionsForTopic(Subscription[] result)
      auto generated Axis2 call back method for getJMSSubscriptionsForTopic method override this method for handling normal response from getJMSSubscriptionsForTopic operation
    • receiveErrorgetJMSSubscriptionsForTopic

      public void receiveErrorgetJMSSubscriptionsForTopic(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getJMSSubscriptionsForTopic operation
    • receiveResultcheckCurrentUserHasDeleteTopicPermission

      public void receiveResultcheckCurrentUserHasDeleteTopicPermission(boolean result)
      auto generated Axis2 call back method for checkCurrentUserHasDeleteTopicPermission method override this method for handling normal response from checkCurrentUserHasDeleteTopicPermission operation
    • receiveErrorcheckCurrentUserHasDeleteTopicPermission

      public void receiveErrorcheckCurrentUserHasDeleteTopicPermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from checkCurrentUserHasDeleteTopicPermission operation
    • receiveResultcheckUserHasDetailsTopicPermission

      public void receiveResultcheckUserHasDetailsTopicPermission(boolean result)
      auto generated Axis2 call back method for checkUserHasDetailsTopicPermission method override this method for handling normal response from checkUserHasDetailsTopicPermission operation
    • receiveErrorcheckUserHasDetailsTopicPermission

      public void receiveErrorcheckUserHasDetailsTopicPermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from checkUserHasDetailsTopicPermission operation
    • receiveResultcheckCurrentUserHasAddTopicPermission

      public void receiveResultcheckCurrentUserHasAddTopicPermission(boolean result)
      auto generated Axis2 call back method for checkCurrentUserHasAddTopicPermission method override this method for handling normal response from checkCurrentUserHasAddTopicPermission operation
    • receiveErrorcheckCurrentUserHasAddTopicPermission

      public void receiveErrorcheckCurrentUserHasAddTopicPermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from checkCurrentUserHasAddTopicPermission operation
    • receiveResultcheckUserHasDeleteTopicPermission

      public void receiveResultcheckUserHasDeleteTopicPermission(boolean result)
      auto generated Axis2 call back method for checkUserHasDeleteTopicPermission method override this method for handling normal response from checkUserHasDeleteTopicPermission operation
    • receiveErrorcheckUserHasDeleteTopicPermission

      public void receiveErrorcheckUserHasDeleteTopicPermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from checkUserHasDeleteTopicPermission operation
    • receiveResultaddTopic

      public void receiveResultaddTopic()
      auto generated Axis2 call back method for addTopic method override this method for handling normal response from addTopic operation
    • receiveErroraddTopic

      public void receiveErroraddTopic(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from addTopic operation
    • receiveResultcheckCurrentUserHasDetailsTopicPermission

      public void receiveResultcheckCurrentUserHasDetailsTopicPermission(boolean result)
      auto generated Axis2 call back method for checkCurrentUserHasDetailsTopicPermission method override this method for handling normal response from checkCurrentUserHasDetailsTopicPermission operation
    • receiveErrorcheckCurrentUserHasDetailsTopicPermission

      public void receiveErrorcheckCurrentUserHasDetailsTopicPermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from checkCurrentUserHasDetailsTopicPermission operation
    • receiveResultgetWsSubscriptionsForTopic

      public void receiveResultgetWsSubscriptionsForTopic(Subscription[] result)
      auto generated Axis2 call back method for getWsSubscriptionsForTopic method override this method for handling normal response from getWsSubscriptionsForTopic operation
    • receiveErrorgetWsSubscriptionsForTopic

      public void receiveErrorgetWsSubscriptionsForTopic(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getWsSubscriptionsForTopic operation
    • receiveResultgetPaginatedTopicTree

      public void receiveResultgetPaginatedTopicTree(TopicNode result)
      auto generated Axis2 call back method for getPaginatedTopicTree method override this method for handling normal response from getPaginatedTopicTree operation
    • receiveErrorgetPaginatedTopicTree

      public void receiveErrorgetPaginatedTopicTree(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getPaginatedTopicTree operation
    • receiveResultupdatePermission

      public void receiveResultupdatePermission()
      auto generated Axis2 call back method for updatePermission method override this method for handling normal response from updatePermission operation
    • receiveErrorupdatePermission

      public void receiveErrorupdatePermission(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from updatePermission operation