[Adium-devl] Java-based libraries... a ponder, a thought, an apology
Andre-John Mas
ajmas at sympatico.ca
Fri Dec 8 19:06:29 UTC 2006
On 7-Dec-06, at 21:31 , Evan Schoenberg wrote:
> In the length of my email, one point got lost, I believe, based on
> your reply, Graham:
>> the advantages of switching to other libraries have grown smaller
>> in the meantime. Mark Doliner has refactored and reorganized the
>> libgaim OSCAR prpl <snip> It is now clean enough to support
>> future development. Its AIM file transfer and direct connect are
>> quite reliable now.
>
> which is to say that the file transfer / direct connect advantage
> of joscar over libgaim is no longer nearly as significant.
>
> On Dec 7, 2006, at 9:01 PM, Graham Booker wrote:
>
>>> 2) Client-side rate limiting management, which among other things
>>> allows rapid retrieval of away messages at sign-on
>>
>> I have considered actually implementing this in the past, but you
>> seem to indicate below that it is there now. There is one strange
>> thought that nags at the back of my mind. If this were
>> implemented along with non-blocking IO (which I have implemented
>> as well), then there is a buffer after the rate-limiting. In
>> certain network conditions, that buffer can negate the rate-
>> limiting. I do have to admit, this is a minor issue, especially
>> since joscar has the same kind of non-blocking IO inside it.
> That's an interesting point. As a side note, joscar does *not*
> have the same kind of non-blocking IO, as apparently non-blocking
> sockets are difficult to work with in Java. Instead, a thread runs
> for each OSCAR connection, and a dedicated queue manager uses it to
> send in a non-blocking fashion.
With the advent of Java NIO, I think non-blocking IO is definitely
available for Java.
Andre
More information about the devel
mailing list