| | |
| | | { |
| | | protocol = ConnectionHandlerDescriptor.Protocol.JMX; |
| | | } |
| | | SortedSet<InetAddress> v = jmx.getListenAddress(); |
| | | if (v != null) |
| | | { |
| | | addresses.addAll(v); |
| | | } |
| | | port = jmx.getListenPort(); |
| | | } |
| | | else if (connHandler instanceof LDIFConnectionHandlerCfgClient) |
| | |
| | | protocol = ConnectionHandlerDescriptor.Protocol.SNMP; |
| | | SNMPConnectionHandlerCfgClient snmp = |
| | | (SNMPConnectionHandlerCfgClient)connHandler; |
| | | SortedSet<InetAddress> v = snmp.getListenAddress(); |
| | | if (v != null) |
| | | { |
| | | addresses.addAll(v); |
| | | } |
| | | port = snmp.getListenPort(); |
| | | } |
| | | else |