/ . / DBPuppet / DBPuppet
Methods
|
|
|
stop_listening
|
stop_listening (
self,
triggerName=None,
closure=None,
data=None,
)
make the DBPuppet extension stop listening to requests from browsers
|
|
remove_webinfo
|
remove_webinfo (
self,
port,
removeFile=False,
)
Exceptions
|
|
AC_KEY_ERROR( "can't open web info file for reading" )
|
|
|
start_listening
|
start_listening ( self )
make the DBPuppet extension listen to requests from browsers
Exceptions
|
|
PUPPET_ERROR( "port %s appears to be in use" % self.listen_port )
AC_KEY_ERROR( "can't create web info file" )
AC_KEY_ERROR( "can't access web file to read keys" )
|
|
|
write_webinfo
|
write_webinfo ( self, port )
Exceptions
|
|
AC_KEY_ERROR( "can't open web info file for writing" )
|
|
|
closeWebFile
|
closeWebFile ( self, f )
|
|
portOnTop
|
portOnTop (
self,
triggerName=None,
closure=None,
data=None,
)
|
|
__init__
|
__init__ ( self, name )
|
|
printMsg
|
printMsg ( self, msg )
|
|
check_pid_exists
|
check_pid_exists ( self, pid )
|
|
getWebFile
|
getWebFile (
self,
mode,
create=False,
)
|
|
|