Package node_manager_fkie :: Module network_discovery_dialog :: Class NetworkDiscoveryDialog
[frames] | no frames]

Class NetworkDiscoveryDialog

source code

python_qt_binding.QtWidgets.QDialog --+
                                      |
                     object --+       |
                              |       |
             threading._Verbose --+   |
                                  |   |
                   threading.Thread --+
                                      |
                                     NetworkDiscoveryDialog

Instance Methods
 
__init__(self, default_mcast_group, default_port, networks_count, parent=None)
Creates an input dialog.
source code
 
on_heartbeat_received(self, msg, address, is_multicast) source code
 
run(self)
Method representing the thread's activity.
source code
 
closeEvent(self, event) source code
 
stop(self) source code
 
on_anchorClicked(self, url) source code

Inherited from threading.Thread: __repr__, daemon, getName, ident, isAlive, isDaemon, is_alive, join, name, setDaemon, setName, start

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

Class Variables
  TIMEOUT = 0.1
  display_clear_signal = Signal()
  display_append_signal = Signal(str)
  status_text_signal = Signal(str)
  network_join_request = Signal(int)
Properties

Inherited from object: __class__

Method Details

__init__(self, default_mcast_group, default_port, networks_count, parent=None)
(Constructor)

source code 

Creates an input dialog.

Parameters:
  • default_port (int) - the default discovery port
  • networks_count (int) - the count of discovering ports
Overrides: object.__init__

run(self)

source code 

Method representing the thread's activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object's constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

Overrides: threading.Thread.run
(inherited documentation)