Class: Synapse::Serialization::SerializedEventMessage

Inherits:
SerializedMessage show all
Defined in:
lib/synapse/serialization/message/serialized_message.rb

Overview

Serialized representation of an event message

Direct Known Subclasses

SerializedDomainEventMessage

Instance Attribute Summary

Attributes inherited from SerializedMessage

#id, #serialized_metadata, #serialized_payload, #timestamp

Class Method Summary collapse

Methods inherited from SerializedMessage

#and_metadata, build, #initialize, #metadata, #payload, #payload_type, #serialize_metadata, #serialize_payload, #with_metadata

Methods included from SerializationAware

#serialize_metadata, #serialize_payload

Constructor Details

This class inherits a constructor from Synapse::Serialization::SerializedMessage

Class Method Details

.builderClass

Returns:

  • (Class)


136
137
138
# File 'lib/synapse/serialization/message/serialized_message.rb', line 136

def self.builder
  SerializedEventMessageBuilder
end