Class: ActiveEvent::EventSourceServer::Status
- Inherits:
-
Object
- Object
- ActiveEvent::EventSourceServer::Status
- Defined in:
- lib/active_event/event_source_server.rb
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
Returns the value of attribute backtrace.
-
#error ⇒ Object
Returns the value of attribute error.
-
#event_id ⇒ Object
Returns the value of attribute event_id.
-
#waiters ⇒ Object
Returns the value of attribute waiters.
Instance Method Summary collapse
-
#initialize ⇒ Status
constructor
A new instance of Status.
Constructor Details
#initialize ⇒ Status
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
#backtrace ⇒ Object
Returns the value of attribute backtrace.
50 51 52 |
# File 'lib/active_event/event_source_server.rb', line 50 def backtrace @backtrace end |
#error ⇒ Object
Returns the value of attribute error.
50 51 52 |
# File 'lib/active_event/event_source_server.rb', line 50 def error @error end |
#event_id ⇒ Object
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 |
#waiters ⇒ Object
Returns the value of attribute waiters.
50 51 52 |
# File 'lib/active_event/event_source_server.rb', line 50 def waiters @waiters end |