txampext/multiplexing.py
def getLocalProtocol(self, connectionIdentifier):
        """Attempts to get a local protocol by connection identifier.

        """
        for factory in self.localFactories:
            try:
                return factory.protocols[connectionIdentifier]
            except KeyError:
                continue

        raise NoSuchConnection()
def getLocalProtocol(self, connectionIdentifier):
        for factory in self.localFactories:
            try:
                return factory.protocols[connectionIdentifier]
            except KeyError:
                continue

        raise NoSuchConnection()
def getLocalProtocol ( self , connectionIdentifier ) : for factory in self . localFactories : try : return factory . protocols [ connectionIdentifier ] except KeyError : continue raise NoSuchConnection ( )
Attempts to get a local protocol by connection identifier.
Attempts to get a local protocol by connection identifier .