Module pyinotify :: Class SysCtlINotify
[hide private]
[frames] | no frames]

Class SysCtlINotify

source code

object --+
         |
        SysCtlINotify

Access (read, write) inotify's variables through sysctl.

Examples:

Instance Methods [hide private]
 
__init__(self, attrname)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
int
get_val(self)
Returns: stored value.
source code
 
set_val(self, nval) source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __str__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, *p, **k) source code
Class Variables [hide private]
  inotify_attrs = {'max_queued_events': 3, 'max_user_instances':...
Properties [hide private]
int value

Inherited from object: __class__

Method Details [hide private]

__new__(cls, *p, **k)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

__init__(self, attrname)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

get_val(self)

source code 
Returns: int
stored value.

set_val(self, nval)

source code 
Parameters:
  • nval (int) - set to nval.

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

inotify_attrs

Value:
{'max_queued_events': 3,
 'max_user_instances': 1,
 'max_user_watches': 2}

Property Details [hide private]

value

Get Method:
get_val(self) - Returns: stored value.
Set Method:
set_val(self, nval)
Type:
int