Back to index

moin  1.9.0~rc2
Public Member Functions | Private Attributes
MoinMoin.support.flup.server.threadedserver.TestJob Class Reference

List of all members.

Public Member Functions

def __init__
def run

Private Attributes

 _sock
 _addr

Detailed Description

Definition at line 164 of file threadedserver.py.


Constructor & Destructor Documentation

Definition at line 165 of file threadedserver.py.

00165 
00166         def __init__(self, sock, addr):
00167             self._sock = sock
            self._addr = addr

Member Function Documentation

Definition at line 168 of file threadedserver.py.

00168 
00169         def run(self):
00170             print "Client connection opened from %s:%d" % self._addr
00171             self._sock.send('Hello World!\n')
00172             self._sock.setblocking(1)
00173             self._sock.recv(1)
00174             self._sock.close()
00175             print "Client connection closed from %s:%d" % self._addr
    sock = socket.socket()

Member Data Documentation

Definition at line 167 of file threadedserver.py.

Definition at line 166 of file threadedserver.py.


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