Hi,
   I just read http://www.ietf.org/rfc/rfc3921.txt, and go to chapter
7.  Roster Management, and learn the example.

Example: Client requests current roster from server:

  we must send this xml to server...
  <iq from='[EMAIL PROTECTED]/balcony' type='get' id='roster_1'>
     <query xmlns='jabber:iq:roster'/>
   </iq>

   Example: Client receives roster from server:

   We must receive roster in your application..
   <iq to='[EMAIL PROTECTED]/balcony' type='result' id='roster_1'>
     <query xmlns='jabber:iq:roster'>
       <item jid='[EMAIL PROTECTED]'
             name='Romeo'
             subscription='both'>
         <group>Friends</group>
       </item>
       <item jid='[EMAIL PROTECTED]'
             name='Mercutio'
             subscription='from'>
         <group>Friends</group>
       </item>
       <item jid='[EMAIL PROTECTED]'
             name='Benvolio'
             subscription='both'>
         <group>Friends</group>
       </item>
     </query>
   </iq>

thx
arief


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to