class Synapse::Upcasting::UpcastingContext
Provides contextual information about an object being upcast; generally this is information from the message containing the object to be upcast
@abstract
Public Instance Methods
aggregate_id()
click to toggle source
@abstract @return [Object]
# File lib/synapse/upcasting/context.rb, line 22 def aggregate_id; end
message_id()
click to toggle source
@abstract @return [String]
# File lib/synapse/upcasting/context.rb, line 10 def message_id; end
metadata()
click to toggle source
@abstract @return [Hash]
# File lib/synapse/upcasting/context.rb, line 14 def metadata; end
sequence_number()
click to toggle source
@abstract @return [Integer]
# File lib/synapse/upcasting/context.rb, line 26 def sequence_number; end
timestamp()
click to toggle source
@abstract @return [Time]
# File lib/synapse/upcasting/context.rb, line 18 def timestamp; end