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.Default
Nested classes/interfaces inherited from interface org.jgrapes.core.Subchannel
Subchannel.DefaultSubchannel
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractMailChannel
(O event, Channel channel) Instantiates a new mail channel instance. -
Method Summary
Methods inherited from class org.jgrapes.io.util.ConnectionManager.Connection
close, downPipeline
Methods inherited from class org.jgrapes.core.Subchannel.DefaultSubchannel
associated, mainChannel, setAssociated, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jgrapes.core.Associator
associated, associated, associated, associated, associatedGet, setAssociated
Methods 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
-