# File lib/thrift_client/connection/socket.rb, line 4 def close @transport.close end
# File lib/thrift_client/connection/socket.rb, line 8 def connect! host, port = parse_server(@server) @transport = @transport.new(*[host, port.to_i, @timeout]) @transport = @transport_wrapper.new(@transport) if @transport_wrapper @transport.open end