Disconnect from the remote SMB/CIFS server. The TCP connection will be closed at the earliest opportunity after this method returns. :return: None
(self)
| 391 | return d |
| 392 | |
| 393 | def closeConnection(self): |
| 394 | """ |
| 395 | Disconnect from the remote SMB/CIFS server. The TCP connection will be closed at the earliest opportunity after this method returns. |
| 396 | |
| 397 | :return: None |
| 398 | """ |
| 399 | if not self.instance: |
| 400 | raise NotConnectedError('Not connected to server') |
| 401 | |
| 402 | self.instance.transport.loseConnection() |
| 403 | |
| 404 | # |
| 405 | # ClientFactory methods |
nothing calls this directly
no test coverage detected