javax.mail.event
Class StoreEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.mail.event.MailEvent
          extended byjavax.mail.event.StoreEvent
All Implemented Interfaces:
Serializable

public class StoreEvent
extends MailEvent

Version:
$Revision: 1.3 $ $Date: 2004/03/10 10:00:27 $
See Also:
Serialized Form

Field Summary
static int ALERT
           
protected  String message
           
static int NOTICE
           
protected  int type
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StoreEvent(Store store, int type, String message)
           
 
Method Summary
 void dispatch(Object listener)
           
 String getMessage()
           
 int getMessageType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALERT

public static final int ALERT
See Also:
Constant Field Values

NOTICE

public static final int NOTICE
See Also:
Constant Field Values

type

protected int type

message

protected String message
Constructor Detail

StoreEvent

public StoreEvent(Store store,
                  int type,
                  String message)
Method Detail

getMessageType

public int getMessageType()

getMessage

public String getMessage()

dispatch

public void dispatch(Object listener)
Specified by:
dispatch in class MailEvent


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.