org.wso2.carbon.logging.view.stub
Class LogViewerCallbackHandler

java.lang.Object
  extended by org.wso2.carbon.logging.view.stub.LogViewerCallbackHandler

public abstract class LogViewerCallbackHandler
extends Object

LogViewerCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.


Field Summary
protected  Object clientData
           
 
Constructor Summary
LogViewerCallbackHandler()
          Please use this constructor if you don't want to set any clientData
LogViewerCallbackHandler(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
 Object getClientData()
          Get the client data
 void receiveErrorclearLogs(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from clearLogs operation
 void receiveErrordownloadArchivedLogFiles(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from downloadArchivedLogFiles operation
 void receiveErrorgetAllSystemLogs(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getAllSystemLogs operation
 void receiveErrorgetApplicationLogs(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getApplicationLogs operation
 void receiveErrorgetApplicationNames(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getApplicationNames operation
 void receiveErrorgetLineNumbers(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getLineNumbers operation
 void receiveErrorgetLocalLogFiles(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getLocalLogFiles operation
 void receiveErrorgetLogLinesFromFile(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getLogLinesFromFile operation
 void receiveErrorgetLogs(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getLogs operation
 void receiveErrorgetNoOfLogEvents(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getNoOfLogEvents operation
 void receiveErrorgetPaginatedApplicationLogEvents(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getPaginatedApplicationLogEvents operation
 void receiveErrorgetPaginatedLogEvents(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getPaginatedLogEvents operation
 void receiveErrorgetPaginatedLogFileInfo(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getPaginatedLogFileInfo operation
 void receiveErrorgetServiceNames(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getServiceNames operation
 void receiveErrorisFileAppenderConfiguredForST(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isFileAppenderConfiguredForST operation
 void receiveErrorisLogEventReciverConfigured(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isLogEventReciverConfigured operation
 void receiveErrorisManager(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isManager operation
 void receiveErrorisValidTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isValidTenant operation
 void receiveErrorisValidTenantDomain(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isValidTenantDomain operation
 void receiveResultclearLogs(boolean result)
          auto generated Axis2 call back method for clearLogs method override this method for handling normal response from clearLogs operation
 void receiveResultdownloadArchivedLogFiles(DataHandler result)
          auto generated Axis2 call back method for downloadArchivedLogFiles method override this method for handling normal response from downloadArchivedLogFiles operation
 void receiveResultgetAllSystemLogs(LogEvent[] result)
          auto generated Axis2 call back method for getAllSystemLogs method override this method for handling normal response from getAllSystemLogs operation
 void receiveResultgetApplicationLogs(LogEvent[] result)
          auto generated Axis2 call back method for getApplicationLogs method override this method for handling normal response from getApplicationLogs operation
 void receiveResultgetApplicationNames(String[] result)
          auto generated Axis2 call back method for getApplicationNames method override this method for handling normal response from getApplicationNames operation
 void receiveResultgetLineNumbers(int result)
          auto generated Axis2 call back method for getLineNumbers method override this method for handling normal response from getLineNumbers operation
 void receiveResultgetLocalLogFiles(PaginatedLogFileInfo result)
          auto generated Axis2 call back method for getLocalLogFiles method override this method for handling normal response from getLocalLogFiles operation
 void receiveResultgetLogLinesFromFile(String[] result)
          auto generated Axis2 call back method for getLogLinesFromFile method override this method for handling normal response from getLogLinesFromFile operation
 void receiveResultgetLogs(LogEvent[] result)
          auto generated Axis2 call back method for getLogs method override this method for handling normal response from getLogs operation
 void receiveResultgetNoOfLogEvents(int result)
          auto generated Axis2 call back method for getNoOfLogEvents method override this method for handling normal response from getNoOfLogEvents operation
 void receiveResultgetPaginatedApplicationLogEvents(PaginatedLogEvent result)
          auto generated Axis2 call back method for getPaginatedApplicationLogEvents method override this method for handling normal response from getPaginatedApplicationLogEvents operation
 void receiveResultgetPaginatedLogEvents(PaginatedLogEvent result)
          auto generated Axis2 call back method for getPaginatedLogEvents method override this method for handling normal response from getPaginatedLogEvents operation
 void receiveResultgetPaginatedLogFileInfo(PaginatedLogFileInfo result)
          auto generated Axis2 call back method for getPaginatedLogFileInfo method override this method for handling normal response from getPaginatedLogFileInfo operation
 void receiveResultgetServiceNames(String[] result)
          auto generated Axis2 call back method for getServiceNames method override this method for handling normal response from getServiceNames operation
 void receiveResultisFileAppenderConfiguredForST(boolean result)
          auto generated Axis2 call back method for isFileAppenderConfiguredForST method override this method for handling normal response from isFileAppenderConfiguredForST operation
 void receiveResultisLogEventReciverConfigured(boolean result)
          auto generated Axis2 call back method for isLogEventReciverConfigured method override this method for handling normal response from isLogEventReciverConfigured operation
 void receiveResultisManager(boolean result)
          auto generated Axis2 call back method for isManager method override this method for handling normal response from isManager operation
 void receiveResultisValidTenant(boolean result)
          auto generated Axis2 call back method for isValidTenant method override this method for handling normal response from isValidTenant operation
 void receiveResultisValidTenantDomain(boolean result)
          auto generated Axis2 call back method for isValidTenantDomain method override this method for handling normal response from isValidTenantDomain operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientData

protected Object clientData
Constructor Detail

LogViewerCallbackHandler

public LogViewerCallbackHandler(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.

LogViewerCallbackHandler

public LogViewerCallbackHandler()
Please use this constructor if you don't want to set any clientData

Method Detail

getClientData

public Object getClientData()
Get the client data


receiveResultgetLogs

public void receiveResultgetLogs(LogEvent[] result)
auto generated Axis2 call back method for getLogs method override this method for handling normal response from getLogs operation


receiveErrorgetLogs

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


receiveResultclearLogs

public void receiveResultclearLogs(boolean result)
auto generated Axis2 call back method for clearLogs method override this method for handling normal response from clearLogs operation


receiveErrorclearLogs

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


receiveResultisFileAppenderConfiguredForST

public void receiveResultisFileAppenderConfiguredForST(boolean result)
auto generated Axis2 call back method for isFileAppenderConfiguredForST method override this method for handling normal response from isFileAppenderConfiguredForST operation


receiveErrorisFileAppenderConfiguredForST

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


receiveResultisLogEventReciverConfigured

public void receiveResultisLogEventReciverConfigured(boolean result)
auto generated Axis2 call back method for isLogEventReciverConfigured method override this method for handling normal response from isLogEventReciverConfigured operation


receiveErrorisLogEventReciverConfigured

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


receiveResultgetLocalLogFiles

public void receiveResultgetLocalLogFiles(PaginatedLogFileInfo result)
auto generated Axis2 call back method for getLocalLogFiles method override this method for handling normal response from getLocalLogFiles operation


receiveErrorgetLocalLogFiles

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


receiveResultgetPaginatedApplicationLogEvents

public void receiveResultgetPaginatedApplicationLogEvents(PaginatedLogEvent result)
auto generated Axis2 call back method for getPaginatedApplicationLogEvents method override this method for handling normal response from getPaginatedApplicationLogEvents operation


receiveErrorgetPaginatedApplicationLogEvents

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


receiveResultgetNoOfLogEvents

public void receiveResultgetNoOfLogEvents(int result)
auto generated Axis2 call back method for getNoOfLogEvents method override this method for handling normal response from getNoOfLogEvents operation


receiveErrorgetNoOfLogEvents

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


receiveResultgetApplicationLogs

public void receiveResultgetApplicationLogs(LogEvent[] result)
auto generated Axis2 call back method for getApplicationLogs method override this method for handling normal response from getApplicationLogs operation


receiveErrorgetApplicationLogs

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


receiveResultisManager

public void receiveResultisManager(boolean result)
auto generated Axis2 call back method for isManager method override this method for handling normal response from isManager operation


receiveErrorisManager

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


receiveResultgetPaginatedLogFileInfo

public void receiveResultgetPaginatedLogFileInfo(PaginatedLogFileInfo result)
auto generated Axis2 call back method for getPaginatedLogFileInfo method override this method for handling normal response from getPaginatedLogFileInfo operation


receiveErrorgetPaginatedLogFileInfo

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


receiveResultgetAllSystemLogs

public void receiveResultgetAllSystemLogs(LogEvent[] result)
auto generated Axis2 call back method for getAllSystemLogs method override this method for handling normal response from getAllSystemLogs operation


receiveErrorgetAllSystemLogs

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


receiveResultgetServiceNames

public void receiveResultgetServiceNames(String[] result)
auto generated Axis2 call back method for getServiceNames method override this method for handling normal response from getServiceNames operation


receiveErrorgetServiceNames

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


receiveResultgetApplicationNames

public void receiveResultgetApplicationNames(String[] result)
auto generated Axis2 call back method for getApplicationNames method override this method for handling normal response from getApplicationNames operation


receiveErrorgetApplicationNames

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


receiveResultgetPaginatedLogEvents

public void receiveResultgetPaginatedLogEvents(PaginatedLogEvent result)
auto generated Axis2 call back method for getPaginatedLogEvents method override this method for handling normal response from getPaginatedLogEvents operation


receiveErrorgetPaginatedLogEvents

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


receiveResultisValidTenantDomain

public void receiveResultisValidTenantDomain(boolean result)
auto generated Axis2 call back method for isValidTenantDomain method override this method for handling normal response from isValidTenantDomain operation


receiveErrorisValidTenantDomain

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


receiveResultgetLogLinesFromFile

public void receiveResultgetLogLinesFromFile(String[] result)
auto generated Axis2 call back method for getLogLinesFromFile method override this method for handling normal response from getLogLinesFromFile operation


receiveErrorgetLogLinesFromFile

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


receiveResultgetLineNumbers

public void receiveResultgetLineNumbers(int result)
auto generated Axis2 call back method for getLineNumbers method override this method for handling normal response from getLineNumbers operation


receiveErrorgetLineNumbers

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


receiveResultisValidTenant

public void receiveResultisValidTenant(boolean result)
auto generated Axis2 call back method for isValidTenant method override this method for handling normal response from isValidTenant operation


receiveErrorisValidTenant

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


receiveResultdownloadArchivedLogFiles

public void receiveResultdownloadArchivedLogFiles(DataHandler result)
auto generated Axis2 call back method for downloadArchivedLogFiles method override this method for handling normal response from downloadArchivedLogFiles operation


receiveErrordownloadArchivedLogFiles

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



Copyright © 2015 WSO2. All rights reserved.