PublicServerClientRSocketController

@Controller
@MessageMapping(value = ["v1.server.client"])
class PublicServerClientRSocketController(registerClientReaderService: ServerClientReaderService, registerClientWriterService: ServerClientWriterService, protobufSerializer: ProtoBuf)

Constructors

Link copied to clipboard
constructor(registerClientReaderService: ServerClientReaderService, registerClientWriterService: ServerClientWriterService, protobufSerializer: ProtoBuf)

Functions

Link copied to clipboard
@MessageMapping(value = ["installed.plugins"])
suspend fun requestInstalledPlugins(): RSocketResponse

Request all installed plugins request/response RSocket API.

Link copied to clipboard
@MessageMapping(value = ["update.config"])
suspend fun updateServerClient(@Payload updateServerClient: ByteArray): RSocketResponse

Update server-client's configuration request/response RSocket API. Takes as argument an UpdateServerClientRequest encoded in ProtoBuf format in payload.