Class: ZMachine::HttpStubConnection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#parentObject

Returns the value of attribute parent.



15
16
17
# File 'lib/z-http/http_connection.rb', line 15

def parent
  @parent
end

Instance Method Details

#connection_completedObject



26
27
28
# File 'lib/z-http/http_connection.rb', line 26

def connection_completed
  @parent.connection_completed
end

#receive_data(data) ⇒ Object



22
23
24
# File 'lib/z-http/http_connection.rb', line 22

def receive_data(data)
  @parent.receive_data data
end

#unbind(reason = nil) ⇒ Object



30
31
32
# File 'lib/z-http/http_connection.rb', line 30

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