<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!-- Driver Descriptor for Yun VFP Server module (VfpServer) -->
<DRIVER HEADER="Yun.h">          
         <REQUIRE HEADER="bridge.h"/>
         <RESOURCE FILE="Yun/server.py"/>
         <RESOURCE FILE="Yun/showlog.py"/>
  
         <INTERRUPT NAME="reload" DESC="Page Reload" HOOK="attachReloadHandler"/>                   
         <INTERRUPT NAME="login" DESC="Login Event" HOOK="attachLoginHandler"/>                   
         <INTERRUPT NAME="logout" DESC="Logout Event" HOOK="attachLogoutHandler"/>                   
         <INTERRUPT NAME="request" DESC="Control Event"  HOOK="attachRequestHandler"/>                   

         <METHOD NAME="setTitle" DESC="Set the document title">
            <PARAMETER NAME="title" TYPE="STRING"/>
         </METHOD>   

         <FUNCTION DESC="Return true if an event is pending for a particular object">
            <PARAMETER NAME="object" TYPE="STRING"/>
            <RETURN TYPE="BOOLEAN"/>
         </FUNCTION>                  
         
         <!-- Will be called automatically by LOOP construct -->
         <METHOD NAME="waitForRequests" DESC="Wait a specified number of milliseconds and poll for requests">
            <PARAMETER NAME="timeout" TYPE="INTEGER" DEFAULT="1000" DESC="Delay in milliseconds"/>
         </METHOD>

         <!-- Needs to be called if the application will use time values -->
         <METHOD NAME="waitForTimeServer" DESC="Wait until the linux side has obtained the time from the internet."/>

         <!-- Write to the debug console -->
         <METHOD NAME="debug" DESC="Write information to the remote debugging (telnet) console.">
           <PARAMETER TYPE="LIST" DESC="Items to output."/>
         </METHOD>                  

         <RESOURCE FILE="yun/transport.js"/>         
         <RESOURCE TYPE="htm" DESC="Html Files" />
         <RESOURCE TYPE="svg" DESC="Panel Files" />
         <RESOURCE TYPE="png" DESC="Bitmap Files" />
         <RESOURCE TYPE="js"  DESC="Javascript Files" />
</DRIVER>
