Status file manager.
|
__init__(self,
path)
Initializes class. |
|
|
|
AddRecentOutput(self,
line)
Adds a new line of recent output. |
|
|
|
SetListenPort(self,
port)
Sets the port the daemon is listening on. |
|
|
|
GetListenPort(self)
Returns the port the daemon is listening on. |
|
|
|
SetConnected(self)
Sets the connected flag. |
|
|
|
GetConnected(self)
Determines whether the daemon is connected. |
|
|
|
SetProgress(self,
mbytes,
throughput,
percent,
eta)
Sets how much data has been transferred so far. |
|
|
|
SetExitStatus(self,
exit_status,
error_message)
Sets the exit status and an error message. |
|
|
|
ExitStatusIsSuccess(self)
Returns whether the exit status means "success". |
|
|
|
Update(self,
force)
Updates the status file. |
|
|