Class: Reel::Request::StateMachine
- Inherits:
-
Object
- Object
- Reel::Request::StateMachine
- Includes:
- Celluloid::FSM
- Defined in:
- lib/reel/request/state_machine.rb
Overview
Tracks the state of Reel requests
Instance Method Summary collapse
-
#initialize(socket) ⇒ StateMachine
constructor
A new instance of StateMachine.
Constructor Details
#initialize(socket) ⇒ StateMachine
Returns a new instance of StateMachine.
7 8 9 10 |
# File 'lib/reel/request/state_machine.rb', line 7 def initialize(socket) @socket = socket @hijacked = false end |