hlcc 2.0.0-beta2+pre1
|
A centralize class where the different Facades/MalAdapters exist. More...
Public Member Functions | |
def | __init__ (self, connection_slot, ui) |
Construct. | |
def | construct (self, api_name, api_uri) |
Based on the application name, host and port, create the MalAdapter/Facade Save it in the private list for external use. | |
def | destruct (self, api_name) |
Based on the application name, destroy existent facade. | |
def | clear_dict (self) |
Completely clean up the list. | |
def | get_dict (self) |
Return the private list of facades instances. | |
def | get_typed_facades_list (self, api_name) |
With a given name return associated facades. | |
def | facades_status_by_process (self, api_name) |
Check if objects are not None. | |
def | set_facade_status_info (self, api_name, ignore_flag, oldb_uri) |
Save new ignore and URI status information inside the respective Standard Facade. | |
Protected Member Functions | |
def | _standard_construction (self, name, uri) |
Specific Facades Methods ###. | |
def | _eltpk_construction (self, name, uri) |
Construct the necessary EltPk Facades for expected comunication with the application. | |
def | _telifsim_construction (self, name, uri) |
Construct the necessary TelIfSSim Facades for expected comunication with the application. | |
def | _telmon_construction (self, name, uri) |
Construct the necessary TelMon Facades for expected comunication with the application. | |
Protected Attributes | |
_eltpk_ui_page | |
_telifsim_ui_page | |
_ccsinsif_ui_page | |
_telmon_ui_page | |
_facade_construction_functions | |
A centralize class where the different Facades/MalAdapters exist.
All necessary operations come from here and everyone should use it if dealing with facades. Each facade have there own variable name because with need a connection with the UI objects.
def facadesmanager.FacadesManager.__init__ | ( | self, | |
connection_slot, | |||
ui | |||
) |
Construct.
connection_slot | QSlot for server connection triggers |
ui | QMainWindow instance to extract processes UI pages |
|
protected |
Construct the necessary EltPk Facades for expected comunication with the application.
name | API designation |
uri | API identifier |
|
protected |
Specific Facades Methods ###.
Construction of a single standard facade. Used for generic or external applications
name | API designation |
uri | API identifier |
|
protected |
Construct the necessary TelIfSSim Facades for expected comunication with the application.
name | API designation |
uri | API identifier |
|
protected |
Construct the necessary TelMon Facades for expected comunication with the application.
name | API designation |
uri | API identifier |
def facadesmanager.FacadesManager.clear_dict | ( | self | ) |
Completely clean up the list.
Reset it.
def facadesmanager.FacadesManager.construct | ( | self, | |
api_name, | |||
api_uri | |||
) |
Based on the application name, host and port, create the MalAdapter/Facade Save it in the private list for external use.
api_name | Lower case string name |
api_uri | Must recent API URI from TelmMon |
def facadesmanager.FacadesManager.destruct | ( | self, | |
api_name | |||
) |
Based on the application name, destroy existent facade.
api_name | Lower case string name |
def facadesmanager.FacadesManager.facades_status_by_process | ( | self, | |
api_name | |||
) |
Check if objects are not None.
api_name | Lower case string name |
def facadesmanager.FacadesManager.get_dict | ( | self | ) |
Return the private list of facades instances.
def facadesmanager.FacadesManager.get_typed_facades_list | ( | self, | |
api_name | |||
) |
With a given name return associated facades.
api_name | Lower case string name |
def facadesmanager.FacadesManager.set_facade_status_info | ( | self, | |
api_name, | |||
ignore_flag, | |||
oldb_uri | |||
) |
Save new ignore and URI status information inside the respective Standard Facade.
api_name | Lower case string name |
ignore_flag | Boolean value to be stored |
oldb_uri | Datapoint identificator where the status value is stored |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |