Hi guys
I’'m now working on supporting RPC in Smack… And I have the folowing situation:
I created an RPCPaket class derived from IQ which can encode an RPC call in a proper XML standart.
I’'m sending it with XMPPConnection.sendPacket() function to the external server component written in Perl (it is already supports RPC). This component sends me a standart RPC response (IQ stanza).
What I need is to develop an RPCCall routine which can send a packet and WAIT for this response in order to parse it and return a result in the RETURN statement.
Could you please direct me to the most correct way hoe to make it with Smack classes ?
Thank a lot.