Module jakarta.mail
Package jakarta.mail

Class EventQueue.TerminatorEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    EventQueue

    static class EventQueue.TerminatorEvent
    extends MailEvent
    A special event that causes the queue processing task to terminate.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      TerminatorEvent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • TerminatorEvent

        TerminatorEvent()
    • Method Detail

      • dispatch

        public void dispatch​(java.lang.Object listener)
        Description copied from class: MailEvent
        This method invokes the appropriate method on a listener for this event. Subclasses provide the implementation.
        Specified by:
        dispatch in class MailEvent
        Parameters:
        listener - the listener to invoke on