src.Client
index
/var/lib/jenkins/workspace/resmon_autoclient_doc/src/Client.py

 
Modules
       
getpass

 
Classes
       
builtins.object
Client

 
class Client(builtins.object)
    Client which offers basic methods of the application
 
  Methods defined here:
__init__(self, configFile, limit, register)
Initializes client with a given parameters
 
:param configFile:
:param limit:
:param register:
:type configFile: str
:type limit: int
:type register: bool
displayLoop(self)
Displays online results in a neverending loop
 
:return: returns None
loadUserData(self)
Loads username and password from keyboard when it's typed by user
 
:return: returns None
login(self)
Provides functionality of log in on JWT authorization server
 
:return: returns login response parsed as JSON
register(self)
Provides functionality of registration on JWT authorization server
 
:return: returns registration response parsed as JSON
run(self)
Runs the client
 
:return: returns None

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
sleep(...)
sleep(seconds)
 
Delay execution for a given number of seconds.  The argument may be
a floating point number for subsecond precision.