(self, timeout=1000)
| 139 | self._callbackmap.clear() |
| 140 | |
| 141 | def _create_request_header(self, timeout=1000): |
| 142 | hdr = ua.RequestHeader() |
| 143 | hdr.AuthenticationToken = self.authentication_token |
| 144 | self._request_handle += 1 |
| 145 | hdr.RequestHandle = self._request_handle |
| 146 | hdr.TimeoutHint = timeout |
| 147 | return hdr |
| 148 | |
| 149 | def connect_socket(self, host, port): |
| 150 | """ |