86 def hasTimedOut(self): |
86 def hasTimedOut(self): |
87 """ |
87 """ |
88 Public method to check, if the last 'readUntil' has timed out. |
88 Public method to check, if the last 'readUntil' has timed out. |
89 |
89 |
90 @return flag indicating a timeout |
90 @return flag indicating a timeout |
91 @@rtype bool |
91 @rtype bool |
92 """ |
92 """ |
93 return self.__timedOut |
93 return self.__timedOut |
94 |
94 |
95 def readUntil(self, expected=b"\n", size=None, timeout=0): |
95 def readUntil(self, expected=b"\n", size=None, timeout=0): |
96 r""" |
96 r""" |