Module jakarta.mail

Class MailEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      MailEvent​(java.lang.Object source)
      Construct a MailEvent referring to the given source.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void dispatch​(java.lang.Object listener)
      This method invokes the appropriate method on a listener for this event.
      • 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
    • Constructor Detail

      • MailEvent

        public MailEvent​(java.lang.Object source)
        Construct a MailEvent referring to the given source.
        Parameters:
        source - the source of the event
    • Method Detail

      • dispatch

        public abstract void dispatch​(java.lang.Object listener)
        This method invokes the appropriate method on a listener for this event. Subclasses provide the implementation.
        Parameters:
        listener - the listener to invoke on