Check whether this connection is really open.
()
| 1606 | * Check whether this connection is really open. |
| 1607 | */ |
| 1608 | @Override |
| 1609 | public synchronized boolean isOpen() { |
| 1610 | synchronized(messageCacheLock) { |
| 1611 | // Probe the connection to make sure its really open. |
| 1612 | if (opened) { |
| 1613 | try { |
| 1614 | keepConnectionAlive(false); |
| 1615 | } catch (ProtocolException pex) { } |
| 1616 | } |
| 1617 | } |
| 1618 | |
| 1619 | return opened; |
| 1620 | } |
| 1621 | |
| 1622 | /** |
| 1623 | * Return the permanent flags supported by the server. |
no test coverage detected