ServerPortfolio  2.0
Python parsers and server
 All Classes Namespaces Files Functions Variables Properties Pages
Public Member Functions | Public Attributes | List of all members
serverportfolio.SocketServer_Server.MyHandler_Parser Class Reference

Make a proper handler class to respond to the message. More...

Inheritance diagram for serverportfolio.SocketServer_Server.MyHandler_Parser:
Inheritance graph
[legend]
Collaboration diagram for serverportfolio.SocketServer_Server.MyHandler_Parser:
Collaboration graph
[legend]

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
 

Detailed Description

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.

Member Function Documentation

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)
def serverportfolio.SocketServer_Server.MyHandler_Parser.setup (   self)

Definition at line 118 of file SocketServer_Server.py.

Member Data Documentation

serverportfolio.SocketServer_Server.MyHandler_Parser.data

Definition at line 144 of file SocketServer_Server.py.

serverportfolio.SocketServer_Server.MyHandler_Parser.logger
serverportfolio.SocketServer_Server.MyHandler_Parser.update_stock

Definition at line 179 of file SocketServer_Server.py.


The documentation for this class was generated from the following file: