XIFF to Openfire and Back

Please provide inputs on the following:

a) from my XIFF, if i uses the function “roster.fetchRoster()” how the XML stanza flows through connection to Openfire

b) and on openfire which java function executes and

c) how the results are returned back to XIFF

d) and i also wants to know how the functions from XIFF are mapped to Openfire.

i mean clarification on this line

var iq:IQ = new IQ( null, IQ.TYPE_GET, XMPPStanza.generateID( “roster_” ),fetchRoster_result );