Re: MessageSession approach
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Wed, 31 Jan 2007 10:21:48 +0100 (CET)
Hi,

On Tue Jan 30 2007, Anatoly Gutnick wrote:
> Hello,
>
> What are the actual disadvantages of Client::send().
> Can you please explian the difference in implementation of Client:send and
> MessageSession:send
> that makes the difference?

The 'disadvantage' of Client::send() is that it requires more work from you to 
achieve what you can do with a single call to MessageSession::send().

Client::send() sends any XML over the wire to the server.
MessageSession::send() is limited to sending a single chat message to the 
MessageSession's buddy.

cheers,
Jakob

Attachment: pgpeFYCpWYdS0.pgp
Description: PGP signature