check_connected
Description:
Return whether this connection is fully active and connected.
If it is not, raise DISCONNECTED.
This is equivalent to checking whether get_status returns CONNECTED; it is provided because methods on the connection often need to make this check, and return a Error if it fails.
Parameters:
this |
the connection |
Returns:
|