Package ZenRRD :: Module zencommand :: Class SshPool
[show private | hide private]
[frames | no frames]

Class SshPool


Cache all the Ssh connections so they can be managed
Method Summary
  __init__(self)
  close(self, cmd)
symetric close that matches get() method
  get(self, cmd)
Make an ssh connection if there isn't one available
  trimConnections(self, schedule)
reduce the number of connections using the schedule for guidance
  _close(self, device)
close the SSH connection to a device, if it exists

Method Details

close(self, cmd)

symetric close that matches get() method

get(self, cmd)

Make an ssh connection if there isn't one available

trimConnections(self, schedule)

reduce the number of connections using the schedule for guidance

_close(self, device)

close the SSH connection to a device, if it exists

Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 http://epydoc.sf.net