

def __init__(self, cache, key, subFactory, extraWork):
    '\n        @param cache: a Q2QService\n\n        @param key: a 2-tuple of (endpoint, extra) that represents what\n        connections coming from this factory are for.\n\n        @param subFactory: a ClientFactory which I forward methods to.\n\n        @param extraWork: extraWork(proto) -> Deferred which fires when the\n        connection has been prepared sufficiently to be used by subsequent\n        connections and can be counted as a success.\n        '
    self.cache = cache
    self.key = key
    self.subFactory = subFactory
    self.finishedExtraWork = False
    self.extraWork = extraWork

dataset/ETHPy150Open twisted/vertex/vertex/conncache.py _CachingClientFactory.__init__/original