Fervent Coder

Coding Towards Utopia...by Rob Reynolds
posts - 278 , comments - 431 , trackbacks - 0

My Links


Rob Reynolds

Subscribe to Fervent Coder RSS
Subscribe to Fervent Coder by Email

About Me

I manage several open source projects. Need...
   ...package management for Windows?
   ...automated builds?
   ...database change management (migrations)?
   ...your application to check email?
   ...a monitoring utility?

I also write for

Like what you are reading? Want to buy me a cup of coffee?
PayPal - The safer, easier way to pay online!

Article Categories


Post Categories

Image Galleries


SidePOP XMLConfigurator

From my previous post on SidePOP, I wanted to make it even easier to configure SidePOP.

So instead of the configure_mail_watcher() from the last post, this is what it looks like now: 

private void configure_mail_watcher()
    EmailWatcherConfigurator configurator = new SidePopXmlConfigurator();
    foreach (EmailWatcher emailWatcher in configurator.configure())
        emailWatcher.MessagesReceived += runner_messages_received;


Notice that Runner became EmailWatcher and instead of run() we start(). In conjunction there is also a stop() method as well.

Print | posted on Tuesday, December 8, 2009 1:29 PM | Filed Under [ Code chucknorris SidePOP ]


Comments are closed.
Comments have been closed on this topic.

Powered by: