|
__init__(self)
The location may be either a pathname or the port@host address of a
license server. |
|
|
|
errors(self)
Return the errors of localserver license resources. |
|
|
|
|
|
clearResources(self)
Clears the license resources that are registered with this process. |
|
|
|
addResource(self,
resource)
Register a new license resource. |
|
|
|
setTemplateResource(self,
resource)
Sets a known good license from which to obtain generic information,
such as pathname, version, logfile, etc. |
|
|
|
checkResource(self,
resource)
Check the health of a local server resource by using this local
server process. |
|
|
|
checkRunning(self)
Checks whether the server process is currently running. |
|
|
|
isRunning(self)
Whether the server process is currently running. |
|
|
|
health(self)
Returns the health of server process if there are any license
resources to serve. |
|
|
|
waitForSchrodDaemon(self,
license_file,
timeout=60)
Wait timeout seconds for lmstat to report if SCHROD vendor daemon is
UP or DOWN. |
|
|
|
_start(self,
resources,
logfile=None,
append_log=True)
Start the given server resources - they do not necessarily have to be
added to this server process object. |
|
|
|
start(self,
logfile=None,
append_log=True)
Starts the server process with all the local license resources that
have been added. |
|
|
|
stop(self,
pathname=None,
anydaemon=False)
Stops the server process (both SCHROD and LMGRD). |
|
|
Inherited from LicenseResource :
__repr__ ,
__unicode__ ,
add_error ,
available_tokens ,
canonical_filename ,
checkout ,
ident ,
is_local_server ,
is_server ,
is_stub ,
jobs ,
lmdiag ,
lmstat ,
location ,
logfile ,
memory_leak_server ,
outdated_server ,
pathname ,
priority ,
refresh ,
schrod_port ,
server_host_and_port ,
server_hostid ,
server_hostids ,
server_hostnames ,
server_pathname ,
server_version ,
stub_license ,
summary ,
tokens ,
total_tokens
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|