Event Mapper
class EventMapper
Content copied to clipboard
EventMapper is responsible for mapping events carried by EventResponseFrame to concrete events representations.
Constructors
EventMapper
Link copied to clipboard
fun EventMapper()
Content copied to clipboard
Types
Functions
deserialize
Link copied to clipboard
Deserializes EventResponseFrame into concrete event type representation using serializer returned by EventSerializers.getByEventName.
fun <T : Event> deserialize(eventFrame: EventResponseFrame, eventSerializer: KSerializer<T>): T
Content copied to clipboard
Sources
jvm source
Link copied to clipboard