- commit
- 94d705f49a24f735a1365131043ab08d83e133be
- parent
- 7f04caaa148b6e99e71a69f30e0d0a31905e2029
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2014-11-01 10:36
allow connectionMade on client
Diffstat
| M | laneya/protocol.py | 5 | +++++ |
1 files changed, 5 insertions, 0 deletions
diff --git a/laneya/protocol.py b/laneya/protocol.py
@@ -209,6 +209,7 @@ class ClientProtocol(BaseProtocol): 209 209 210 210 def connectionMade(self): 211 211 self.factory.connections.append(self) -1 212 self.factory.connectionMade() 212 213 213 214 def connectionLost(self, reason): 214 215 self.factory.connections.remove(self) @@ -286,6 +287,10 @@ class ClientProtocolFactory(Factory): 286 287 """Overwrite this on the client implementation.""" 287 288 raise NotImplementedError 288 289 -1 290 def connectionMade(self): -1 291 """Overwrite this on the client implementation.""" -1 292 pass -1 293 289 294 290 295 __all__ = [ 291 296 'InvalidError',