|
ServerPortfolio
2.0
Python parsers and server
|
Define singleton class DictionaryStocks, act as the main container of Stocks objects. More...
Classes | |
| class | Singleton |
| Define a metaclass Singleton object. More... | |
| class | DictionaryStocks |
| Container of all Stocks objects, it also reads the static stocks configuration file "dictstocks.txt". More... | |
Functions | |
| def | ActivateTCPClient |
| Used by C++ to activate / desactivate the client socket. More... | |
| def | DesactivateTCPClient |
| Used by C++ to desactivate the client. More... | |
Define singleton class DictionaryStocks, act as the main container of Stocks objects.
Last Changed
| def serverportfolio.DictionaryStocks.ActivateTCPClient | ( | ) |
Used by C++ to activate / desactivate the client socket.
tcp_client was created at the initialisation of DictionaryStocks. flag active true/false determine if guistock server is running. coded here easier for the integration with C++
Definition at line 387 of file DictionaryStocks.py.
| def serverportfolio.DictionaryStocks.DesactivateTCPClient | ( | ) |
Used by C++ to desactivate the client.
Definition at line 403 of file DictionaryStocks.py.
1.8.6