Class: ActiveEvent::EventSourceServer::Status

Inherits:
Object
  • Object
show all
Defined in:
lib/active_event/event_source_server.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStatus

Returns a new instance of Status.



52
53
54
55
# File 'lib/active_event/event_source_server.rb', line 52

def initialize
  self.event_id = 0
  self.waiters = Hash.new { |h,k| h[k] = [] }
end

Instance Attribute Details

#backtraceObject

Returns the value of attribute backtrace.



50
51
52
# File 'lib/active_event/event_source_server.rb', line 50

def backtrace
  @backtrace
end

#errorObject

Returns the value of attribute error.



50
51
52
# File 'lib/active_event/event_source_server.rb', line 50

def error
  @error
end

#event_idObject

Returns the value of attribute event_id.



50
51
52
# File 'lib/active_event/event_source_server.rb', line 50

def event_id
  @event_id
end

#waitersObject

Returns the value of attribute waiters.



50
51
52
# File 'lib/active_event/event_source_server.rb', line 50

def waiters
  @waiters
end