|
|||||||||
| Home >> All >> javax >> mail >> [ event overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.mail.event
Class TransportEvent

java.lang.Objectjava.util.EventObject
javax.mail.event.MailEvent
javax.mail.event.TransportEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class TransportEvent
- extends MailEvent
- Version:
- $Rev: 125583 $ $Date: 2005-01-18 19:44:27 -0800 (Tue, 18 Jan 2005) $
| Field Summary | |
protected javax.mail.Address[] |
invalid
Addresses that are invalid. |
static int |
MESSAGE_DELIVERED
Indicates that the message has successfully been delivered to all recipients. |
static int |
MESSAGE_NOT_DELIVERED
Indicates that no messages could be delivered. |
static int |
MESSAGE_PARTIALLY_DELIVERED
Indicates that some of the messages were successfully delivered but that some failed. |
protected javax.mail.Message |
msg
The message associated with this event. |
protected int |
type
The event type. |
protected javax.mail.Address[] |
validSent
Addresses to which the message was successfully delivered. |
protected javax.mail.Address[] |
validUnsent
Addresses which are valid but to which the message was not sent. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
TransportEvent(javax.mail.Transport transport,
int type,
javax.mail.Address[] validSent,
javax.mail.Address[] validUnsent,
javax.mail.Address[] invalid,
javax.mail.Message message)
Construct a new event, |
|
| Method Summary | |
void |
dispatch(java.lang.Object listener)
|
javax.mail.Address[] |
getInvalidAddresses()
|
javax.mail.Message |
getMessage()
|
int |
getType()
|
javax.mail.Address[] |
getValidSentAddresses()
|
javax.mail.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
- Indicates that the message has successfully been delivered to all
recipients.
- See Also:
- Constant Field Values
MESSAGE_NOT_DELIVERED
public static final int MESSAGE_NOT_DELIVERED
- Indicates that no messages could be delivered.
- See Also:
- Constant Field Values
MESSAGE_PARTIALLY_DELIVERED
public static final int MESSAGE_PARTIALLY_DELIVERED
- Indicates that some of the messages were successfully delivered
but that some failed.
- See Also:
- Constant Field Values
type
protected int type
- The event type.
validSent
protected transient javax.mail.Address[] validSent
- Addresses to which the message was successfully delivered.
validUnsent
protected transient javax.mail.Address[] validUnsent
- Addresses which are valid but to which the message was not sent.
invalid
protected transient javax.mail.Address[] invalid
- Addresses that are invalid.
msg
protected transient javax.mail.Message msg
- The message associated with this event.
| Constructor Detail |
TransportEvent
public TransportEvent(javax.mail.Transport transport, int type, javax.mail.Address[] validSent, javax.mail.Address[] validUnsent, javax.mail.Address[] invalid, javax.mail.Message message)
- Construct a new event,
| Method Detail |
getValidSentAddresses
public javax.mail.Address[] getValidSentAddresses()
getValidUnsentAddresses
public javax.mail.Address[] getValidUnsentAddresses()
getInvalidAddresses
public javax.mail.Address[] getInvalidAddresses()
getMessage
public javax.mail.Message getMessage()
getType
public int getType()
dispatch
public void dispatch(java.lang.Object listener)
|
|||||||||
| Home >> All >> javax >> mail >> [ event overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC