37 |
37 |
38 self.__address = address |
38 self.__address = address |
39 |
39 |
40 def incomingConnection(self, socketDescriptor): |
40 def incomingConnection(self, socketDescriptor): |
41 """ |
41 """ |
42 Protected method handling an incoming connection. |
42 Public method handling an incoming connection. |
43 |
43 |
44 @param socketDescriptor native socket descriptor (integer) |
44 @param socketDescriptor native socket descriptor (integer) |
45 """ |
45 """ |
46 connection = Connection(self) |
46 connection = Connection(self) |
47 connection.setSocketDescriptor(socketDescriptor) |
47 connection.setSocketDescriptor(socketDescriptor) |