Package flumotion :: Package admin :: Module connections
[hide private]

Module connections

source code

recent connections


Version: $Rev: 7036 $

Classes [hide private]
  RecentConnection
I am an object representing a recent connection.
Functions [hide private]
 
_getRecentFilenames() source code
bool
hasRecentConnections()
Returns if we have at least one recent connection
source code
list of RecentConnection
getRecentConnections()
Fetches a list of recently used connections
source code
a PBConnectionInfo
parsePBConnectionInfoRecent(managerString, use_ssl=True, defaultPort=7531)
The same as flumotion.common.connection.parsePBConnectionInfo, but fills in missing information from the recent connections cache if possible.
source code
Variables [hide private]
  __pychecker__ = ''
Function Details [hide private]

hasRecentConnections()

source code 

Returns if we have at least one recent connection

Returns: bool
if we have a recent connection

getRecentConnections()

source code 

Fetches a list of recently used connections

Returns: list of RecentConnection
recently used connections

parsePBConnectionInfoRecent(managerString, use_ssl=True, defaultPort=7531)

source code 

The same as flumotion.common.connection.parsePBConnectionInfo, but fills in missing information from the recent connections cache if possible.

Parameters:
  • managerString (string) - manager string we should connect to
  • use_ssl (bool) - True if we should use ssl
  • defaultPort (int) - default port to use
Returns: a PBConnectionInfo
connection info