Class InboundAdminCallbackHandler

java.lang.Object
org.wso2.carbon.inbound.stub.InboundAdminCallbackHandler

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

    • clientData

      protected Object clientData
  • Constructor Details

    • InboundAdminCallbackHandler

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

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

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultenableStatistics

      public void receiveResultenableStatistics(String result)
      auto generated Axis2 call back method for enableStatistics method override this method for handling normal response from enableStatistics operation
    • receiveErrorenableStatistics

      public void receiveErrorenableStatistics(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from enableStatistics operation
    • receiveResultdisableStatistics

      public void receiveResultdisableStatistics(String result)
      auto generated Axis2 call back method for disableStatistics method override this method for handling normal response from disableStatistics operation
    • receiveErrordisableStatistics

      public void receiveErrordisableStatistics(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from disableStatistics operation
    • receiveResultenableTracing

      public void receiveResultenableTracing(String result)
      auto generated Axis2 call back method for enableTracing method override this method for handling normal response from enableTracing operation
    • receiveErrorenableTracing

      public void receiveErrorenableTracing(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from enableTracing operation
    • receiveResultgetInboundEndpointbyName

      public void receiveResultgetInboundEndpointbyName(InboundEndpointDTO result)
      auto generated Axis2 call back method for getInboundEndpointbyName method override this method for handling normal response from getInboundEndpointbyName operation
    • receiveErrorgetInboundEndpointbyName

      public void receiveErrorgetInboundEndpointbyName(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getInboundEndpointbyName operation
    • receiveResultdisableTracing

      public void receiveResultdisableTracing(String result)
      auto generated Axis2 call back method for disableTracing method override this method for handling normal response from disableTracing operation
    • receiveErrordisableTracing

      public void receiveErrordisableTracing(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from disableTracing operation
    • receiveResultgetAllInboundEndpointNames

      public void receiveResultgetAllInboundEndpointNames(InboundEndpointDTO[] result)
      auto generated Axis2 call back method for getAllInboundEndpointNames method override this method for handling normal response from getAllInboundEndpointNames operation
    • receiveErrorgetAllInboundEndpointNames

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