Class MailConnectionManager.AbstractMailChannel

java.lang.Object
org.jgrapes.core.Subchannel.DefaultSubchannel
ConnectionManager<C>.Connection
org.jgrapes.mail.MailConnectionManager.AbstractMailChannel
All Implemented Interfaces:
Associator, Channel, Eligible, Subchannel, MailChannel
Direct Known Subclasses:
MailMonitor.MonitorChannel, MailSender.SenderChannel
Enclosing class:
MailConnectionManager<C extends MailConnectionManager<C,O>.AbstractMailChannel,O extends Event<?>>

A sub-channel for mail connections.
  • Constructor Details

    • AbstractMailChannel

      public AbstractMailChannel(O event, Channel channel)
      Instantiates a new mail channel instance.
      Parameters:
      event - the main channel
  • Method Details

    • openEvent

      public O openEvent()
      Returns the event that caused this connection to be opened.
      Returns:
      the event