FakeCommandSender
Shared recording CommandSender fake for tests that do not need transport behavior.
Types
Link copied to clipboard
data class AdminRequest(val destNum: Int, val requestId: Int, val wantResponse: Boolean, val message: AdminMessage, val expectedConnectionVersion: Long? = null)
Link copied to clipboard
data class TelemetryRequest(val requestId: Int, val destNum: Int, val typeValue: Int, val expectedConnectionVersion: Long? = null)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun requestTelemetryForConnection(requestId: Int, destNum: Int, typeValue: Int, expectedConnectionVersion: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend fun sendAdminAwait(destNum: Int, requestId: Int, wantResponse: Boolean, initFn: () -> AdminMessage): Boolean
Link copied to clipboard
open suspend override fun sendAdminAwaitResult(destNum: Int, requestId: Int, wantResponse: Boolean, initFn: () -> AdminMessage): AwaitedSendResult
Link copied to clipboard
open suspend override fun sendAdminForConnection(destNum: Int, expectedConnectionVersion: Long, requestId: Int, wantResponse: Boolean, initFn: () -> AdminMessage)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard