<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" href="ping<%= yield(:provider) %>.jnlp" codebase="<%= ApplicationHelper.base_uri(request) %>/ping/">
    <information>
        <title>JamKazam Ping</title>
        <vendor>JamKazam, Inc.</vendor>
        <icon href="icon.jpg"/>
        <offline-allowed/>
    </information>
    <resources>
        <!-- Application Resources -->
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="https://s3.amazonaws.com/jamkazam-public/ping/ping.jar" main="true"/>
    </resources>
    <application-desc name="JamKazam Ping" main-class="com.jamkazam.ping.Ping" width="400" height="600">
    	<!-- usage: Ping [label=]addr[:port] ... [-c <count>] [-s <size>] -u <url> -i <isp> [-a] -->
        <%= yield(:hosts) %>
    	<argument>-u<%= ApplicationHelper.base_uri(request) %>/api/users/isp_scoring</argument>
    	<argument>-i<%= yield(:provider) %></argument>
        <argument>-a</argument>
     </application-desc>
     <update check="background"/>
     <security>
     	<all-permissions/>
     </security>
</jnlp>