Back to index

moin  1.9.0~rc2
Public Member Functions | Private Attributes Class Reference

List of all members.

Public Member Functions

def __init__
def run

Private Attributes


Detailed Description

Definition at line 151 of file

Constructor & Destructor Documentation

Definition at line 152 of file

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

Member Function Documentation

Definition at line 155 of file

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

Definition at line 153 of file

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