Carsten Ringe wrote:
I switched back to your inetlib and discarded the JavaMail stuff. Now I thought about a connection pool for my NNTP newsreader to support multiple connections. This would be useful if there are a lot of downloading tasks running.

Is there a way to check if a connection is still busy (like downloading the new articles from one group)? I'd then like to implement a busy listener that automatically flags the connection as idle/busy to support like 3 connections to one news server.

Well, all the NNTPConnection methods are synchronous, so it's busy while it's calling that method. You can write wrapper threads for various tasks that can report on their status.
--
犬 Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin




Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Classpath-inetlib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-inetlib

Reply via email to