Logo Search packages:      
Sourcecode: fail2ban version File versions  Download package

utils::pidlock::PIDLock Class Reference

List of all members.


Detailed Description

Manages the PID lock file.

      The following class shows how to implement the singleton pattern[1] in
      Python. A singleton is a class that makes sure only one instance of it
      is ever created. Typically such classes are used to manage resources
      that by their very nature can only exist once.
      
      http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52558

Definition at line 32 of file pidlock.py.


Public Member Functions

def __getattr__
def __init__
def __setattr__

Static Private Attributes

 __instance = None

Classes

class  __impl

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index