ServerPortfolio
2.0
Python parsers and server
|
The thread Server. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | server_activate |
Called by constructor to activate the server. More... | |
Public Attributes | |
logger | |
message | |
Static Public Attributes | |
allow_reuse_address = True | |
Private Attributes | |
_thq | |
Save a link to the queue for interacting (ex:force update) available from the handler as self.server._thq. More... | |
Static Private Attributes | |
_server_running = False | |
The thread Server.
want this server threaded, but not the Handler (SocketServer.ThreadingMixIn)
Definition at line 50 of file SocketServer_Server.py.
def serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.__init__ | ( | self, | |
server_address, | |||
RequestHandlerClass, | |||
thq = None , |
|||
message = '' |
|||
) |
Constructor.
Constructor, pass the queue to handler, MyHandler_Parser, and add a message
Definition at line 62 of file SocketServer_Server.py.
def serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.server_activate | ( | self | ) |
Called by constructor to activate the server.
May be overridden.
why ? useful ??
Definition at line 85 of file SocketServer_Server.py.
|
staticprivate |
Definition at line 52 of file SocketServer_Server.py.
|
private |
Save a link to the queue for interacting (ex:force update) available from the handler as self.server._thq.
Definition at line 68 of file SocketServer_Server.py.
|
static |
Definition at line 55 of file SocketServer_Server.py.
serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.logger |
Definition at line 71 of file SocketServer_Server.py.
Referenced by serverportfolio.Validation.ValidationTkHP.__init__(), and serverportfolio.SocketServer_Server.MyHandler_Parser.handle().
serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.message |