Class: Synapse::Serialization::SerializedEventMessageBuilder

Inherits:
SerializedMessageBuilder show all
Defined in:
lib/synapse/serialization/message/serialized_message_builder.rb

Overview

Message builder capable of producing SerializedEventMessage instances

Direct Known Subclasses

SerializedDomainEventMessageBuilder

Instance Attribute Summary

Attributes inherited from SerializedMessageBuilder

#id, #metadata, #payload, #timestamp

Instance Method Summary collapse

Methods inherited from SerializedMessageBuilder

build

Instance Method Details

#buildSerializedEventMessage



33
34
35
# File 'lib/synapse/serialization/message/serialized_message_builder.rb', line 33

def build
  SerializedEventMessage.new @id, @metadata, @payload, @timestamp
end