cut
1.2.2-pre1
|
Convenience class to avoid boilerplate code when using MAL Interface. More...
Public Member Functions | |
def | __init__ (self, uri, interface_class) |
Initializator for the MalAdapter. More... | |
def | __del__ (self) |
def | get_interface (self) |
def | getInterface (self) |
def | get_mal (self) |
def | getMal (self) |
def | get_factory (self) |
def | getFactory (self) |
def | isConnected (self) |
def | setConnected (self, state) |
def | setConnection (self, newValue) |
Connection Logic ##. More... | |
def | connection_listener (self, status) |
Public Attributes | |
factory | |
Static Public Attributes | |
connectionChanged = Signal(bool) | |
"Connection" Property ## More... | |
connected | |
Convenience class to avoid boilerplate code when using MAL Interface.
The MalAdapter provides a convenience base class to avoid boilerplate code when connecting to MAL Interfaces. The developer creates a new class that inherits from MalAdapter, and the only pending task, is to develop Slots that provide access to Methods in the Interface.
MalAdapter also provides the connected Property, with the connectionChanged(bool) Signal. Please of this Signal to program event based changed for your applications.
def comms.maladapter.MalAdapter.__init__ | ( | self, | |
uri, | |||
interface_class | |||
) |
Initializator for the MalAdapter.
The MalAdapter provides a convinience base class to avoid boilerplate code when connecting to MAL Interfaces. The developer needs :param interface_class :param uri: URI of the MAL Reply Request Endpoint
def comms.maladapter.MalAdapter.__del__ | ( | self | ) |
def comms.maladapter.MalAdapter.connection_listener | ( | self, | |
status | |||
) |
def comms.maladapter.MalAdapter.get_factory | ( | self | ) |
def comms.maladapter.MalAdapter.get_interface | ( | self | ) |
def comms.maladapter.MalAdapter.get_mal | ( | self | ) |
def comms.maladapter.MalAdapter.getFactory | ( | self | ) |
def comms.maladapter.MalAdapter.getInterface | ( | self | ) |
def comms.maladapter.MalAdapter.getMal | ( | self | ) |
def comms.maladapter.MalAdapter.isConnected | ( | self | ) |
def comms.maladapter.MalAdapter.setConnected | ( | self, | |
state | |||
) |
def comms.maladapter.MalAdapter.setConnection | ( | self, | |
newValue | |||
) |
Connection Logic ##.
|
static |
|
static |
"Connection" Property ##
comms.maladapter.MalAdapter.factory |