javax.mail.event
Ŭ·¡½º TransportEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.mail.event.MailEvent 
              |
              +--javax.mail.event.TransportEvent
¸ðµç ½ÇÀå ÀÎÅÍÆäÀ̽º:
java.io.Serializable

public class TransportEvent
extends MailEvent

ÀÌ Å¬·¡½º´Â Transport À̺¥Æ®¸¦ ¸ðµ¨È­ÇÕ´Ï´Ù.

°ü·Ã Ç׸ñ:
Transport , TransportListener , Á÷·ÄÈ­ µÈ Çü½Ä

ÇʵåÀÇ °³¿ä
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
           
 
Ŭ·¡½º java.util.EventObject ·ÎºÎÅÍ °è½ÂÇÑ Çʵå
source
 
constructor¡¡ ¡¡ ÀÇ °³¿ä
TransportEvent (Transport  transport, int type, Address [] validSent, Address [] validUnsent, Address [] invalid, Message  msg)
          constructor¡¡ ¡¡ ÀÔ´Ï´Ù.
 
¸Þ¼ÒµåÀÇ °³¿ä
 void dispatch (java.lang.Object listener)
          ÀûÀýÇÑ TransportListener ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
 Address [] getInvalidAddresses ()
          ÀÌ ¸Þ¼¼Áö¸¦ Á¤»óÀûÀ¸·Î ¼Û½ÅÇÒ ¼ö ¾ø¾ú´ø ÁÖ¼Ò¸¦ µ¹·ÁÁÝ´Ï´Ù.
 Message getMessage ()
          ÀÌ Transport Event ¿¡ °ü·ÃÁöÀ» ¼ö ÀÖ¾ú´ø Message ¿ÀºêÁ§Æ®¸¦ ÃëµæÇÕ´Ï´Ù.
 int getType ()
          ÀÌ À̺¥Æ®ÀÇ ÇüŸ¦ µ¹·ÁÁÝ´Ï´Ù.
 Address [] getValidSentAddresses ()
          ÀÌ ¸Þ¼¼Áö°¡ Á¤»óÀûÀ¸·Î ¼Û½ÅµÈ ÁÖ¼Ò¸¦ µ¹·ÁÁÝ´Ï´Ù.
 Address [] getValidUnsentAddresses ()
          À¯È¿ÇÏÁö¸¸, ¸Þ¼¼Áö°¡ ¼Û½ÅµÇÁö ¾Ê¾Ò´ø ÁÖ¼Ò¸¦ µ¹·ÁÁÝ´Ï´Ù.
 
Ŭ·¡½º java.util.EventObject ·ÎºÎÅÍ °è½ÂÇÑ ¸Þ¼Òµå
getSource, toString
 
Ŭ·¡½º java.lang.Object ·ÎºÎÅÍ °è½ÂÇÑ ¸Þ¼Òµå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

ÇʵåÀÇ »ó¼¼

MESSAGE_DELIVERED

public static final int MESSAGE_DELIVERED
¸Þ¼¼Áö´Â, ÀÌ À̺¥Æ®¸¦ ¹æ¾Æ¼è ÇÑ À̼ۿ¡ ÀÇÇØ ¸ðµç ¼ö½ÅÀÚ¿¡°Ô ¹®Á¦ ¾ø°Ô Àü´ÞµÇ¾ú½À´Ï´Ù. validSent[] ´Â ÀÌ À̼ÛÀÌ Á¤»óÀûÀ¸·Î ¼Û½ÅÇÑ ¸ðµç ÁÖ¼Ò¸¦ Æ÷ÇÔÇÕ´Ï´Ù. validUnsent[] ¿Í invalid[] ´Â null °¡ µË´Ï´Ù.

MESSAGE_NOT_DELIVERED

public static final int MESSAGE_NOT_DELIVERED
ÇϵîÀÇ ¿øÀÎÀ¸·Î ¸Þ¼¼Áö°¡ ¼Û½ÅµÇÁö ¾Ê¾Ò½À´Ï´Ù. validSent[] ´Â null °¡ µË´Ï´Ù. validUnsent[] ´Â À¯È¿ ÁÖ¼Ò¸¦ Æ÷ÇÔÇÑ °æ¿ì°¡ ÀÖ½À´Ï´Ù (´Ù¸¸ ¸Þ¼¼Áö°¡ ±× ÁÖ¼Ò¿¡ ¼Û½ÅµÇ¾î ÀÖÁö ¾Ê´Ù) . invalid[] ¿¡´Â ¹«È¿ÀÎ ÁÖ¼Ò°¡ Æ÷ÇԵ˴ϴÙ.

MESSAGE_PARTIALLY_DELIVERED

public static final int MESSAGE_PARTIALLY_DELIVERED
¸Þ¼¼Áö´Â ÀϺÎÀÇ ¼ö½ÅÀÚ¿¡°Ô Á¤»óÀûÀ¸·Î ¼Û½ÅµÇ¾ú½À´Ï´Ù¸¸, ¸ðµç ¼ö½ÅÀÚ°¡ ¾Æ´Õ´Ï´Ù. validSent[] ´Â ¸Þ¼¼Áö°¡ ¼Û½ÅµÈ ¼ö½ÅÀÚÀÇ ÁÖ¼Ò¸¦ º¸°ü À¯ÁöÇÕ´Ï´Ù. validUnsent[] ´Â ¸Þ¼¼Áö°¡ ¼Û½ÅµÇÁö ¾Ê¾Ò´Ù À¯È¿ÇÑ ÁÖ¼Ò¸¦ º¸°ü À¯ÁöÇÕ´Ï´Ù. invalid[] ´Â ¹«È¿ÀÎ ÁÖ¼Ò°¡ ÀÖ´Â °æ¿ì, º¸°ü À¯ÁöÇÕ´Ï´Ù.

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¡¡ ¡¡ ÀÇ »ó¼¼

TransportEvent

public TransportEvent(Transport  transport,
                      int type,
                      Address [] validSent,
                      Address [] validUnsent,
                      Address [] invalid,
                      Message  msg)
constructor¡¡ ¡¡ ÀÔ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
transport - Transport ¿ÀºêÁ§Æ®
¸Þ¼ÒµåÀÇ »ó¼¼

getType

public int getType()
ÀÌ À̺¥Æ®ÀÇ ÇüŸ¦ µ¹·ÁÁÝ´Ï´Ù.
¹Ýȯ°ª:
Çü

getValidSentAddresses

public Address [] getValidSentAddresses()
ÀÌ ¸Þ¼¼Áö°¡ Á¤»óÀûÀ¸·Î ¼Û½ÅµÈ ÁÖ¼Ò¸¦ µ¹·ÁÁÝ´Ï´Ù.
¹Ýȯ°ª:
¸Þ¼¼Áö°¡ Á¤»óÀûÀ¸·Î ¼Û½ÅµÈ ÁÖ¼Ò ¶Ç´Â null

getValidUnsentAddresses

public Address [] getValidUnsentAddresses()
À¯È¿ÇÏÁö¸¸, ¸Þ¼¼Áö°¡ ¼Û½ÅµÇÁö ¾Ê¾Ò´ø ÁÖ¼Ò¸¦ µ¹·ÁÁÝ´Ï´Ù.
¹Ýȯ°ª:
À¯È¿ÇÏÁö¸¸ ¸Þ¼¼Áö°¡ Á¤»óÀûÀ¸·Î ¼Û½ÅµÇÁö ¾Ê¾Ò´ø ÁÖ¼Ò ¶Ç´Â null

getInvalidAddresses

public Address [] getInvalidAddresses()
ÀÌ ¸Þ¼¼Áö¸¦ Á¤»óÀûÀ¸·Î ¼Û½ÅÇÒ ¼ö ¾ø¾ú´ø ÁÖ¼Ò¸¦ µ¹·ÁÁÝ´Ï´Ù.
¹Ýȯ°ª:
¸Þ¼¼Áö°¡ Á¤»óÀûÀ¸·Î ¼Û½ÅµÇÁö ¾Ê¾Ò´ø ÁÖ¼Ò ¶Ç´Â null

getMessage

public Message  getMessage()
ÀÌ Transport Event ¿¡ °ü·ÃÁöÀ» ¼ö ÀÖ¾ú´ø Message ¿ÀºêÁ§Æ®¸¦ ÃëµæÇÕ´Ï´Ù.
¹Ýȯ°ª:
Message ¿ÀºêÁ§Æ®
µµÀÔµÈ ¹öÁ¯:
JavaMail 1.2

dispatch

public void dispatch(java.lang.Object listener)
ÀûÀýÇÑ TransportListener ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MailEvent ³»ÀÇ dispatch


Copyright 2002 Sun Microsystems, Inc. All rights reserved.
»ç¿ë¿¡´Â»ç¿ë Çã¶ô °è¾àÀÌ Àû¿ëµË´Ï´Ù.