core / pragma.client / ServerTypesData /

ServerTypesData #

class ServerTypesData(shortNameToIntType: MutableMap<String, Int> = mutableMapOf(), intTypeToClass: MutableMap<Int, Class<out GeneratedMessageV3>> = mutableMapOf())

This class is not used by Pragma Engine - it is used by Pragma Clients that are used for IT and Load Testing This class contains the mappings to identify an IntType back to its message Class It is constucted from the mapping returned on the v1/types endpoint (that is made to infrom SDK)

Constructors #

ServerTypesData

fun ServerTypesData(shortNameToIntType: MutableMap<String, Int> = mutableMapOf(), intTypeToClass: MutableMap<Int, Class<out GeneratedMessageV3>> = mutableMapOf())