Package gozerbot :: Module redispatcher :: Class Redispatcher
[hide private]
[frames] | no frames]

Class Redispatcher

source code

object --+
         |
        Redispatcher
Known Subclasses:

this is were the regexs callbacks live

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
size(self)
nr of callbacks
source code
 
whatperms(self)
return possible permissions
source code
 
list(self, perm)
list re with permission perm
source code
 
getfuncnames(self, plug)
return function names in plugin
source code
 
permoverload(self, funcname, perms)
overload permission of function with funcname
source code
 
add(self, index, regex, func, perm, speed=5, threaded=True, allowqueue=True, options={})
add a command
source code
 
unload(self, plugname)
unload regexs commands
source code
 
getcallback(self, txt)
get re callback if txt matches
source code
 
dispatch(self, callback, txt)
dispatch callback on txt
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)