133 |
133 |
134 def readData(self, maxlen): |
134 def readData(self, maxlen): |
135 """ |
135 """ |
136 Public method to retrieve data from the reply object. |
136 Public method to retrieve data from the reply object. |
137 |
137 |
138 @param maxlen maximum number of bytes to read (integer) |
138 @param maxlen maximum number of bytes to read |
139 @return string containing the data (bytes) |
139 @type int |
|
140 @return string containing the data |
|
141 @rtype bytes |
140 """ |
142 """ |
141 with EricMutexLocker(self.__mutex): |
143 with EricMutexLocker(self.__mutex): |
142 return self.__buffer.read(maxlen) |
144 return self.__buffer.read(maxlen) |
143 |
145 |
144 def close(self): |
146 def close(self): |