Check if the connection is actually alive by sending a lightweight query to the server. Returns True if alive, False otherwise.
(self)
| 224 | |
| 225 | @abstractmethod |
| 226 | def ping(self): |
| 227 | """ |
| 228 | Check if the connection is actually alive by sending a lightweight |
| 229 | query to the server. Returns True if alive, False otherwise. |
| 230 | """ |
| 231 | pass |
| 232 | |
| 233 | @abstractmethod |
| 234 | def _release(self): |