def iterconnections(self):
        """
        Iterator of all connections associated with this service,
        whether cached or not.  For testing purposes only.
        """
        return itertools.chain(
            self.secureConnectionCache.cachedConnections.itervalues(),
            iter(self.subConnections),
            (self.dispatcher or ()) and self.dispatcher.iterconnections())