Back to index

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

List of all members.

Public Member Functions

def __init__
def run

Private Attributes

 _sock
 _addr

Detailed Description

Definition at line 151 of file singleserver.py.


Constructor & Destructor Documentation

Definition at line 152 of file singleserver.py.

00152 
00153         def __init__(self, sock, addr):
00154             self._sock = sock
            self._addr = addr

Member Function Documentation

Definition at line 155 of file singleserver.py.

00155 
00156         def run(self):
00157             print "Client connection opened from %s:%d" % self._addr
00158             self._sock.send('Hello World!\n')
00159             self._sock.setblocking(1)
00160             self._sock.recv(1)
00161             self._sock.close()
00162             print "Client connection closed from %s:%d" % self._addr
    sock = socket.socket()

Member Data Documentation

Definition at line 154 of file singleserver.py.

Definition at line 153 of file singleserver.py.


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