Package org.jgrapes.io.util
Class ConnectionManager.Connection
java.lang.Object
org.jgrapes.core.Subchannel.DefaultSubchannel
org.jgrapes.io.util.ConnectionManager.Connection
- All Implemented Interfaces:
Associator
,Channel
,Eligible
,Subchannel
- Direct Known Subclasses:
MailConnectionManager.AbstractMailChannel
- Enclosing class:
ConnectionManager<C extends ConnectionManager<C>.Connection>
The base class for the connections managed by this component.
-
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
-
Method Summary
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, associatedGet
Methods inherited from interface org.jgrapes.core.Subchannel
defaultCriterion, isEligibleFor
-
Constructor Details
-
Connection
- Parameters:
mainChannel
-
-
-
Method Details
-
downPipeline
Gets the down pipeline.- Returns:
- the downPipeline
-
close
Closes the connection.If the last connection is closed and the component is a generator (see {@link ConnectionManager#connectionsGenerate()), the component is unregistered as generator.
-