ServerPortfolio
2.0
Python parsers and server
|
Make a proper handler class to respond to the message. More...
Public Member Functions | |
def | setup |
def | handle |
def | AllStocksLock |
check if at least one stock of the list is still locked More... | |
Public Attributes | |
logger | |
data | |
update_stock | |
Make a proper handler class to respond to the message.
Respond to the client to:
general, need to optimize, it works but may not so good
The RequestHandler class for our server.
It is instantiated once per connection to the server
override the handle() to get correct return
Definition at line 112 of file SocketServer_Server.py.
def serverportfolio.SocketServer_Server.MyHandler_Parser.AllStocksLock | ( | self, | |
list_stock | |||
) |
check if at least one stock of the list is still locked
Definition at line 344 of file SocketServer_Server.py.
def serverportfolio.SocketServer_Server.MyHandler_Parser.handle | ( | self | ) |
Definition at line 135 of file SocketServer_Server.py.
References serverportfolio.ModClientTCP.TCPClient.logger, serverportfolio.Parsers.Parser_Bourso.Parser_Bourso.logger, serverportfolio.AutoParser.thread_parser.logger, serverportfolio.Parsers.YahooYQL.YahooYQL.logger, serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.logger, serverportfolio.Parsers.YahooCSV.YahooCSV.logger, serverportfolio.DictionaryStocks.DictionaryStocks.logger, serverportfolio.SocketServer_Server.MyHandler_Parser.logger, and serverportfolio.AutoParser.Thread_Handle_Queue.logger.
def serverportfolio.SocketServer_Server.MyHandler_Parser.setup | ( | self | ) |
Definition at line 118 of file SocketServer_Server.py.
serverportfolio.SocketServer_Server.MyHandler_Parser.data |
Definition at line 144 of file SocketServer_Server.py.
serverportfolio.SocketServer_Server.MyHandler_Parser.logger |
Definition at line 121 of file SocketServer_Server.py.
Referenced by serverportfolio.Validation.ValidationTkHP.__init__(), and serverportfolio.SocketServer_Server.MyHandler_Parser.handle().
serverportfolio.SocketServer_Server.MyHandler_Parser.update_stock |
Definition at line 179 of file SocketServer_Server.py.