| | |
| | | * |
| | | * |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS. |
| | | */ |
| | | package org.opends.guitools.controlpanel.ui; |
| | | |
| | |
| | | |
| | | private boolean protocolHasMonitoring(ConnectionHandlerDescriptor ch) |
| | | { |
| | | return (ch.getProtocol() == Protocol.LDAP) || |
| | | (ch.getProtocol() == Protocol.LDAPS) || |
| | | (ch.getProtocol() == Protocol.LDAP_STARTTLS) || |
| | | (ch.getProtocol() == Protocol.OTHER); |
| | | if (ch.getState() == State.DISABLED) |
| | | return false; |
| | | return ch.getProtocol() == Protocol.LDAP || |
| | | ch.getProtocol() == Protocol.LDAPS || |
| | | ch.getProtocol() == Protocol.LDAP_STARTTLS || |
| | | ch.getProtocol() == Protocol.OTHER; |
| | | } |
| | | |
| | | /** |