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

The thread Server. More...

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

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
 

Detailed Description

The thread Server.

want this server threaded, but not the Handler (SocketServer.ThreadingMixIn)

Definition at line 50 of file SocketServer_Server.py.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser._server_running = False
staticprivate

Definition at line 52 of file SocketServer_Server.py.

serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser._thq
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.

serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.allow_reuse_address = True
static

Definition at line 55 of file SocketServer_Server.py.

serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.logger
serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.message

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