Class: EventMachine::HttpStubConnection

Inherits:
Connection
  • Object
show all
Includes:
Deferrable
Defined in:
lib/em-http/http_connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#parentObject

Returns the value of attribute parent.



13
14
15
# File 'lib/em-http/http_connection.rb', line 13

def parent
  @parent
end

Instance Method Details

#connection_completedObject



24
25
26
# File 'lib/em-http/http_connection.rb', line 24

def connection_completed
  @parent.connection_completed
end

#receive_data(data) ⇒ Object



20
21
22
# File 'lib/em-http/http_connection.rb', line 20

def receive_data(data)
  @parent.receive_data data
end

#unbind(reason = nil) ⇒ Object



28
29
30
# File 'lib/em-http/http_connection.rb', line 28

def unbind(reason=nil)
  @parent.unbind(reason)
end