----- Original Message ----- From: "Harmeet Bedi" <[EMAIL PROTECTED]> > - I'll post cleaner code for POP3 and SMTP handler.
Here is the somewhat cleaner POP3 and SMTP fixes for scheduler. POP3 and SMTP are the same so either should work to understand the fix. Basically - Server object creates handler, (current code) - Sets scheduler for handler and a handler unique ID. (new code) - Handler schedules events of interest with scheduler as callback (current code) - Scheduler identifies handler with the handler unique id instead of Handler#toString (changed code) There is an additional thread created by the scheduler. It appears that there is one more threads before and after patch for James server, but it leaves the thread pool free to handle higher load. > - Patch my server. I have patched my server for POP3 and SMTP. from earlier mail: > I have opened up port 110, 25, 4555(for remote manager). My home IP Is > 24.102.230.223. There are 11 users - harmeet, user1, user2, user3, user4, user5, user6, user7, user8, user9, and userA and each user has at least one mail. My server does not use the cornerstone scheduler but the implementation I sent yesterday. Either implementation should work, unless there are implementation bugs. I am doing some work, and there are lots of things running. It would work best if Noel/Danny/Peter/others who may want to test, to send me email when you are about to hit my server. I'll make sure it is up and running. It is running now, but I don't want to spam list if I bring it down. My yahoo IM is hbedi, if that works better. > - Post simpler service/configuration related code. Will work on this next. Harmeet
SMTPServer.diff
Description: Binary data
POP3Server.diff
Description: Binary data
SMTPHandler.diff
Description: Binary data
POP3Handler.diff
Description: Binary data
BaseConnectionHandler.diff
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
