Package org.jgrapes.mail
Class MailConnectionManager.AbstractMailChannel
java.lang.Object
org.jgrapes.core.Subchannel.DefaultSubchannel
ConnectionManager<C>.org.jgrapes.io.util.ConnectionManager.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<?>>
protected abstract class MailConnectionManager.AbstractMailChannel
extends ConnectionManager<C>.Connection
implements MailChannel
A sub-channel for mail connections.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jgrapes.core.Channel
Channel.DefaultNested classes/interfaces inherited from interface org.jgrapes.core.Subchannel
Subchannel.DefaultSubchannel -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMailChannel(O event, Channel channel) Instantiates a new mail channel instance. -
Method Summary
Methods inherited from class org.jgrapes.io.util.ConnectionManager.Connection
close, downPipelineMethods inherited from class org.jgrapes.core.Subchannel.DefaultSubchannel
associated, mainChannel, setAssociated, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jgrapes.core.Associator
associated, associated, associated, associated, associatedGet, setAssociatedMethods inherited from interface org.jgrapes.core.Subchannel
defaultCriterion, isEligibleFor, mainChannel
-
Constructor Details
-
AbstractMailChannel
Instantiates a new mail channel instance.- Parameters:
event- the main channel
-
-
Method Details
-
openEvent
Returns the event that caused this connection to be opened.- Returns:
- the event
-