Class: Reel::Request::StateMachine

Inherits:
Object
  • Object
show all
Includes:
Celluloid::FSM
Defined in:
lib/reel/request/state_machine.rb

Overview

Tracks the state of Reel requests

Instance Method Summary collapse

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