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

Constructor & Destructor Documentation

Definition at line 455 of file

00456         def __init__(self, sock, addr):
00457             self._sock = sock
            self._addr = addr

Member Function Documentation

Definition at line 458 of file

00459         def run(self):
00460             print "Client connection opened from %s:%d" % self._addr
00461             self._sock.send('Hello World!\n')
00462             self._sock.setblocking(1)
00463             self._sock.recv(1)
00464             self._sock.close()
00465             print "Client connection closed from %s:%d" % self._addr
    sock = socket.socket()

Member Data Documentation

Definition at line 457 of file

Definition at line 456 of file

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