(self, protocol, host, port, *args, **kwds)
| 199 | |
| 200 | class RecordingConnection(Connection): |
| 201 | def __init__(self, protocol, host, port, *args, **kwds): |
| 202 | self.__file = self.openFile("w") |
| 203 | # write operations make the assumption that the file is not in binary mode |
| 204 | assert isinstance(self.__file, ReplayDataFile) |
| 205 | self.__request = None |
| 206 | self.__protocol = protocol |
| 207 | self.__host = host |
| 208 | self.__port = port |
| 209 | self.__cnx = self._realConnection(host, port, *args, **kwds) |
| 210 | self.__stream = False |
| 211 | |
| 212 | @property |
| 213 | def host(self): |