Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | setup |
def | handle |
def | finish |
Data Fields | |
request | |
client_address | |
server | |
Base class for request handler classes. This class is instantiated for each request to be handled. The constructor sets the instance variables request, client_address and server, and then calls the handle() method. To implement a specific service, all you need to do is to derive a class which defines a handle() method. The handle() method can find the request as self.request, the client address as self.client_address, and the server (in case it needs access to per-server information) as self.server. Since a separate instance is created for each request, the handle() method can define arbitrary other instance variariables.
Definition at line 490 of file SocketServer.py.
def __init__ | ( | self, | |
request, | |||
client_address, | |||
server | |||
) |
Definition at line 508 of file SocketServer.py.
def finish | ( | self) |
Definition at line 525 of file SocketServer.py.
def handle | ( | self) |
Definition at line 522 of file SocketServer.py.
def setup | ( | self) |
Definition at line 519 of file SocketServer.py.
client_address |
Definition at line 510 of file SocketServer.py.
request |
Definition at line 509 of file SocketServer.py.
server |
Definition at line 511 of file SocketServer.py.