things.thinger.io.conduits
Interface InjectionInterface

All Known Implementing Classes:
BasicConduit

public interface InjectionInterface

System-level interface into the conduit. This is how an Injector will drive the conduit thought the drains. Most consumers need not use this.

Version:
1.0

Version History

EPG - Adapted from autohit - 9 OCT 05
 
Author:
Erich P. Gatejen

Method Summary
 java.util.HashSet<PullDrainContainer> getPullDrains()
          Get the Pull Drains (in their containers).
 java.util.HashSet<PushDrain> getPushDrains()
          Get the Push Drains (in their containers).
 

Method Detail

getPullDrains

java.util.HashSet<PullDrainContainer> getPullDrains()
                                                    throws SystemException
Get the Pull Drains (in their containers). Access to the Set is not synchronized, as it need not be, but you should be adding any new injectors through this interface. Doing so will give undefined results.

Returns:
A HashSet of PullDrainContainers.
Throws:
SystemException
See Also:
PullDrainContainer, HashSet

getPushDrains

java.util.HashSet<PushDrain> getPushDrains()
                                           throws SystemException
Get the Push Drains (in their containers). Access to the Set is not synchronized, as it need not be, but you should be adding any new injectors through this interface. Doing so will give undefined results.

Returns:
A HashSet of PushDrains.
Throws:
SystemException
See Also:
PushDrain, HashSet


Things.