Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you now call the getPresenceState method it will show you AWAY as xmpp-presence value

  • setPresenceStatus(String id, String status)

XML to send:

No Format

<?xml version="1.0"?>
<methodCall>
 <methodName>presenceServer.setPresenceStatus</methodName>
 <params>
   <param>
     <value>
       <string>mirceac</string>
     </value>
   </param>
   <param>
     <value>
       <string>I am taking a walk now</string>
     </value>
   </param>
 </params>
</methodCall>

It returns as response:

No Format

<methodResponse xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions">
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>status-code</name>
                        <value>ok</value>
                    </member>
                </struct>
           </value>
        </param>
    </params>
</methodResponse>

ChatroomÂ