# File lib/thrift/transport/unix_server_socket.rb, line 35 def accept unless @handle.nil? sock = @handle.accept trans = UNIXSocket.new(nil) trans.handle = sock trans end end
# File lib/thrift/transport/unix_server_socket.rb, line 44 def close if @handle @handle.close unless @handle.closed? @handle = nil # UNIXServer doesn't delete the socket file, so we have to do it ourselves File.delete(@path) end end
Generated with the Darkfish Rdoc Generator 2.