TcpRadioTransport

TCP radio transport — thin adapter over the shared TcpTransport from core:network.

Implements RadioTransport directly via composition over TcpTransport, delegating send/receive to the transport and calling RadioTransportCallback for lifecycle events. This avoids the previous inheritance from StreamTransport which created a dead StreamFrameCodec and required overriding sendBytes as a no-op.

Constructors

Link copied to clipboard
constructor(callback: RadioTransportCallback, scope: CoroutineScope, dispatchers: CoroutineDispatchers, address: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun close()
Link copied to clipboard
open override fun handleSendToRadio(p: ByteArray): Boolean
Link copied to clipboard
open override fun keepAlive()
Link copied to clipboard
open override fun start()