Package 

Interface ILogService


  • 
    public interface ILogService
    
                        

    Scene logging capability

    • Method Summary

      Modifier and Type Method Description
      abstract Unit getExecuteLogAll(Long relationId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback) Get a list of execution logs
      abstract Unit getSceneLogInfoAll(Long relationId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback) Get a list of execution logs(Include the logs which execute in local).
      abstract Unit getDeviceLogAll(Long relationId, String deviceId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback) Get a list of device logs
      abstract Unit getExecuteLogDetail(Long relationId, String eventId, Long startTime, Long endTime, Long returnType, IResultCallback<List<<ERROR CLASS>>> callback) Get execution log details
      abstract Unit onDestroy() when destroy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getExecuteLogAll

         abstract Unit getExecuteLogAll(Long relationId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)

        Get a list of execution logs

        Parameters:
        relationId - the relation id of the current node
        startTime - start time
        endTime - end time
        size - count
        lastId - The id of the last record in the pagination
        lastRecordTime - the execute time of the last record in the pagination
        callback - callback IResultCallback, ExecuteLogList
      • getSceneLogInfoAll

         abstract Unit getSceneLogInfoAll(Long relationId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)

        Get a list of execution logs(Include the logs which execute in local).

        Parameters:
        relationId - the relation id of the current node
        startTime - start time
        endTime - end time
        size - count
        lastId - The id of the last record in the pagination
        lastRecordTime - the execute time of the last record in the pagination
        callback - callback IResultCallback, ExecuteLogList
      • getDeviceLogAll

         abstract Unit getDeviceLogAll(Long relationId, String deviceId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)

        Get a list of device logs

        Parameters:
        relationId - the relation id of the current node
        deviceId - the id of the device
        startTime - start time
        endTime - end time
        size - count
        lastId - The id of the last record in the pagination
        lastRecordTime - the execute time of the last record in the pagination
        callback - callback IResultCallback, ExecuteLogList
      • getExecuteLogDetail

         abstract Unit getExecuteLogDetail(Long relationId, String eventId, Long startTime, Long endTime, Long returnType, IResultCallback<List<<ERROR CLASS>>> callback)

        Get execution log details

        Parameters:
        relationId - the relation id of the current node
        eventId - the id of event
        startTime - start time
        endTime - end time
        returnType - Return status details, 0 is all status, 1 is failure status
        callback - callback IResultCallback, ExecuteLogList
      • onDestroy

         abstract Unit onDestroy()

        when destroy