Represents a connection out to the original destination.
# File lib/packetthief/handlers/transparent_proxy.rb, line 27 def post_init @client._send_buffer end
Transmit data sent by the destinaton to the client.
# File lib/packetthief/handlers/transparent_proxy.rb, line 32 def receive_data(data) @client.dest_recv(data) end
Start the closing process and close the other connection if it is not already closing.
# File lib/packetthief/handlers/transparent_proxy.rb, line 38 def unbind @client.dest_closed self.closing = true @client.close_connection_after_writing if @client and not @client.closing end
Generated with the Darkfish Rdoc Generator 2.