Class _SpecConnectionsManager
source code
Class for managing connections to Spec
The poll() method should be called inside a GUI loop during idle time.
Unlike the threaded class, the poll method will also dispatch SpecClient
events
Warning: should never be instanciated directly ; use the module level
SpecConnectionsManager() function instead.
|
|
|
poll(self,
timeout=0.01)
Poll the asynchronous socket connections and dispatch incomming
events |
source code
|
|
|
stop(self)
Stop the connections manager thread and dereferences all connections |
source code
|
|
|
|
|
|
|
|
Return a SpecConnection object
Arguments: specVersion -- a string in the 'host:port' form
|