Module: GQTP::Backend::Eventmachine::ServerHandler
- Includes:
- Handler
- Defined in:
- lib/gqtp/backend/eventmachine.rb
Instance Method Summary
collapse
Methods included from Handler
#read, #receive_data, #write
Instance Method Details
#initialize(client_handler) ⇒ Object
103
104
105
106
|
# File 'lib/gqtp/backend/eventmachine.rb', line 103
def initialize(client_handler)
super()
@client_handler = client_handler
end
|
#post_init ⇒ Object
108
109
110
111
|
# File 'lib/gqtp/backend/eventmachine.rb', line 108
def post_init
super
@client_handler.call(self)
end
|