(self, connection)
| 62 | return False |
| 63 | |
| 64 | def addConnection(self, connection): |
| 65 | if isinstance(connection, UDPSocket): |
| 66 | return |
| 67 | if connection.isOutbound: |
| 68 | self.outboundConnections[connection.destination] = connection |
| 69 | else: |
| 70 | if connection.destination.host in self.inboundConnections: |
| 71 | self.inboundConnections[connection.destination] = connection |
| 72 | else: |
| 73 | self.inboundConnections[connection.destination.host] = connection |
| 74 | |
| 75 | def removeConnection(self, connection): |
| 76 | if isinstance(connection, UDPSocket): |
no outgoing calls
no test coverage detected