MeshLogDao

interface MeshLogDao

Functions

Link copied to clipboard
abstract fun deleteAll()
Link copied to clipboard
abstract fun deleteLog(uuid: String)
Link copied to clipboard
abstract fun deleteLogs(fromNum: Int, portNum: Int)
Link copied to clipboard
abstract fun getAllLogs(maxItem: Int): Flow<List<MeshLog>>
Link copied to clipboard
abstract fun getAllLogsInReceiveOrder(maxItem: Int): Flow<List<MeshLog>>
Link copied to clipboard
abstract fun getLogsFrom(fromNum: Int, portNum: Int, maxItem: Int): Flow<List<MeshLog>>

Retrieves MeshLogs matching 'from_num' (nodeNum) and 'port_num' (PortNum).

Link copied to clipboard
abstract fun insert(log: MeshLog)