DeviceRSocketController

@Controller
@MessageMapping(value = ["v1.devices.{client}"])
class DeviceRSocketController(deviceService: DeviceService, protobufSerializer: ProtoBuf)

Constructors

Link copied to clipboard
constructor(deviceService: DeviceService, protobufSerializer: ProtoBuf)

Functions

Link copied to clipboard
@MessageMapping(value = ["get.{uuid}"])
suspend fun getDevices(@DestinationVariable uuid: UUID, @DestinationVariable client: String): RSocketResponse

Get Device request/response RSocket API. Takes arguments only in metadata with uuid as String and client path as String.