AccountRSocketController

@Controller
@MessageMapping(value = ["v1.accounts.{client}"])
class AccountRSocketController(accountService: AccountService, protobufSerializer: ProtoBuf, serverStore: ServerStore)

Constructors

Link copied to clipboard
constructor(accountService: AccountService, protobufSerializer: ProtoBuf, serverStore: ServerStore)

Functions

Link copied to clipboard
@MessageMapping(value = ["add"])
suspend fun addAccount(@Payload account: ByteArray, @DestinationVariable client: String): RSocketResponse

Deprecated in favor of registerAccount.

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

Delete Account fnf RSocket API. Takes arguments only in metadata with uuid as String and client path as String.