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 164 of file

Constructor & Destructor Documentation

Definition at line 165 of file

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

Member Function Documentation

Definition at line 168 of file

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

Definition at line 166 of file

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