Package node_manager_fkie :: Module launch_server_handler :: Class LaunchServerHandler
[frames] | no frames]

Class LaunchServerHandler

source code

       object --+            
                |            
sip.simplewrapper --+        
                    |        
          sip.wrapper --+    
                        |    
     PyQt5.QtCore.QObject --+
                            |
                           LaunchServerHandler

A class to retrieve the state of launch servers. To retrieve the state a new thread will be created.

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
stop(self) source code
 
updateLaunchServerInfo(self, serveruri, delayed_exec=0.0)
This method starts a thread to get the informations about the launch server by the given RCP uri of the launch server.
source code

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, objectNameChanged, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Inherited from sip.simplewrapper: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Instance Variables
 
launch_server_signal(...)
launch_server_signal is a signal (serveruri, pid, nodes), which is emitted, if a info from launch server was successful retrieved.
source code
 
error_signal(...)
error_signal is a signal (serveruri, error message), which is emitted, if an error while retrieving a launch server info was occurred.
source code
Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

updateLaunchServerInfo(self, serveruri, delayed_exec=0.0)

source code 

This method starts a thread to get the informations about the launch server by the given RCP uri of the launch server. If all informations are retrieved, a launch_server_signal of this class will be emitted. If for given serveruri a thread is already running, it will be inserted to the requested updates. For the same serveruri only one requested update can be stored. On update error the requested update will be ignored. This method is thread safe.

Parameters:
  • serveruri (str) - the URI of the remote launch server
  • delayed_exec (float) - Delay the execution of the request for given seconds.