|
init(self)
A subclass should do as little as possible in its init method. |
source code
|
|
|
do_check(self)
Subclasses can implement me to run any checks before the component
performs setup. |
source code
|
|
|
|
|
do_setup(self)
Subclasses can implement me to set up the component before it is
started. |
source code
|
|
|
|
|
updatePorterDetails(self,
path,
username,
password)
Provide a new set of porter login information, for when we're in
slave mode and the porter changes. |
source code
|
|
|
|
|
|
|
|
|
_createRootResourceForPath(self,
path,
fileResource) |
source code
|
|
|
|
|
|
|
|
|
requestFinished(self,
request,
bytesWritten,
timeConnected,
fd) |
source code
|
|
|
|
|
|
|
|
|
getClients(self)
Return the number of connected clients |
source code
|
|
|
|
|
getLoadData(self)
Return a tuple (deltaadded, deltaremoved, bytes_transferred,
current_clients, current_load) of our current bandwidth and user
values. |
source code
|
|
|
rotateLog(self)
Close the logfile, then reopen using the previous logfilename |
source code
|
|
|
|
|
|
|
|
Inherited from component.BaseComponent :
__init__ ,
__provides__ ,
addMessage ,
adminCallRemote ,
checkPropertyType ,
check_properties ,
fixRenamedProperties ,
getMood ,
getName ,
getWorkerName ,
modifyProperty ,
observerAppend ,
observerRemove ,
removeMessage ,
setMedium ,
setMood ,
setShutdownHook ,
setWorkerName ,
setup ,
setup_completed ,
stop ,
waitForHappy ,
warnDeprecatedProperties
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
Inherited from extern.log.log.Loggable :
__providedBy__ ,
debug ,
doLog ,
error ,
info ,
log ,
logFunction ,
logObjectName ,
warning ,
warningFailure ,
writeMarker
|