notify( ) vs call( )

Alasdair Allan aa at astro.ex.ac.uk
Wed May 7 04:50:56 PDT 2008


Mark,

Just to double check before I push forward any further, does this  
look good (wrt nesting of params and the like in the document) to you  
as a call from the client to the Hub to notifyAll()...?

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
    <methodName>samp.hub.notifyAll</methodName>
    <params>
      <param><value><string>app-id:rWsef90jYn2ERtM8IMLl</string></ 
value></param>
      <param><value><struct>
         <member>
           <name>params</name>
           <value><struct>
             <member>
               <name>ra</name>
               <value><string>180.0</string></value>
             </member>
             <member>
               <name>dec</name>
               <value><string>-45.0</string></value>
             </member>
           </struct></value>
         </member>
         <member>
           <name>mtype</name>
           <value><string>coord.event.pointAt</string></value>
         </member>
      </struct></value></param>
    </params>
</methodCall>

Cheers,
Al.



More information about the apps-samp mailing list