Interface MailEventListener

All Superinterfaces:
All Known Implementing Classes:
IMAPHandler, MailFolder, POPHandler

public interface MailEventListener
extends java.util.EventListener

Provides interface for a mail event listener.

Event listeners handle mail events generated by various operations on the MailFolder objects performed by particular users. A listener may be interested only in some types of events, identified by the source folder, user and the type of event.

Method Summary
 void handleMailEvent(MailEvent event)
          Handles the mail event.

Method Detail


public void handleMailEvent(MailEvent event)
                     throws MailException
Handles the mail event.

event - the mail event
MailException - if an error occured

Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.