Class: Synapse::Serialization::SerializedDomainEventData Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/synapse/serialization/message/data.rb

Overview

This class is abstract.

Describes the properties that a serialized domain event should have

Instance Method Summary collapse

Instance Method Details

#aggregate_idObject

Returns Identifier of the aggregate that the event was applied to.

Returns:

  • (Object)

    Identifier of the aggregate that the event was applied to



19
# File 'lib/synapse/serialization/message/data.rb', line 19

def aggregate_id; end

#idString

Returns Identifier of the serialized event.

Returns:

  • (String)

    Identifier of the serialized event



7
# File 'lib/synapse/serialization/message/data.rb', line 7

def id; end

#metadataSerializedObject

Returns Serialized metadata of the serialized event.

Returns:



10
# File 'lib/synapse/serialization/message/data.rb', line 10

def ; end

#payloadSerializedObject

Returns Serialized payload of the serialized event.

Returns:



13
# File 'lib/synapse/serialization/message/data.rb', line 13

def payload; end

#sequence_numberInteger

Returns Sequence number of the event in the aggregate.

Returns:

  • (Integer)

    Sequence number of the event in the aggregate



22
# File 'lib/synapse/serialization/message/data.rb', line 22

def sequence_number; end

#timestampTime

Returns Timestamp of the serialized event.

Returns:

  • (Time)

    Timestamp of the serialized event



16
# File 'lib/synapse/serialization/message/data.rb', line 16

def timestamp; end