wingo - in flumotion/trunk: . flumotion/twisted
flumotion-commit at lists.fluendo.com
flumotion-commit at lists.fluendo.com
Wed Jan 3 13:21:03 CET 2007
Author: wingo
Date: Wed Jan 3 13:21:01 2007
New Revision: 4371
Modified:
flumotion/trunk/ChangeLog
flumotion/trunk/flumotion/twisted/pb.py
Log:
(Avatar.disconnect): New method.
Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog (original)
+++ flumotion/trunk/ChangeLog Wed Jan 3 13:21:01 2007
@@ -9,6 +9,7 @@
for mindCallRemote[Logging] in the base class, so that all avatars
can easily support logging. Again this does not affect manager
avatars because they override this implementation.
+ (Avatar.disconnect): New method.
* flumotion/common/medium.py (BaseMedium.callRemoteLogging): New
method, contains the guts of callRemote, but with an extra param
Modified: flumotion/trunk/flumotion/twisted/pb.py
==============================================================================
--- flumotion/trunk/flumotion/twisted/pb.py (original)
+++ flumotion/trunk/flumotion/twisted/pb.py Wed Jan 3 13:21:01 2007
@@ -717,6 +717,12 @@
return self.mindCallRemoteLogging(log.DEBUG, -1, name, *args,
**kwargs)
+ def disconnect(self):
+ """
+ Disconnect the remote PB client.
+ """
+ self.mind.broker.transport.loseConnection()
+
class PingableAvatar(Avatar):
_pingCheckInterval = configure.heartbeatInterval * 2.5
More information about the flumotion-commit
mailing list