javax.mail.event
Class TransportEvent

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

public class TransportEvent
extends MailEvent

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

Field Summary
protected  Address[] invalid
           
static int MESSAGE_DELIVERED
           
static int MESSAGE_NOT_DELIVERED
           
static int MESSAGE_PARTIALLY_DELIVERED
           
protected  Message msg
           
protected  int type
           
protected  Address[] validSent
           
protected  Address[] validUnsent
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TransportEvent(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message message)
           
 
Method Summary
 void dispatch(Object listener)
           
 Address[] getInvalidAddresses()
           
 Message getMessage()
           
 int getType()
           
 Address[] getValidSentAddresses()
           
 Address[] getValidUnsentAddresses()
           
 
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

MESSAGE_DELIVERED

public static final int MESSAGE_DELIVERED
See Also:
Constant Field Values

MESSAGE_NOT_DELIVERED

public static final int MESSAGE_NOT_DELIVERED
See Also:
Constant Field Values

MESSAGE_PARTIALLY_DELIVERED

public static final int MESSAGE_PARTIALLY_DELIVERED
See Also:
Constant Field Values

type

protected int type

validSent

protected transient Address[] validSent

validUnsent

protected transient Address[] validUnsent

invalid

protected transient Address[] invalid

msg

protected transient Message msg
Constructor Detail

TransportEvent

public TransportEvent(Transport transport,
                      int type,
                      Address[] validSent,
                      Address[] validUnsent,
                      Address[] invalid,
                      Message message)
Method Detail

getValidSentAddresses

public Address[] getValidSentAddresses()

getValidUnsentAddresses

public Address[] getValidUnsentAddresses()

getInvalidAddresses

public Address[] getInvalidAddresses()

getMessage

public Message getMessage()

getType

public int getType()

dispatch

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


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