| | |
| | | private ConnectionHandlerDescriptor getConnectionHandler( |
| | | ConnectionHandlerCfg connHandler, String name) throws OpenDsException |
| | | { |
| | | SortedSet<InetAddress> addresses = new TreeSet<InetAddress>(); |
| | | SortedSet<InetAddress> addresses = new TreeSet<InetAddress>( |
| | | getInetAddressComparator()); |
| | | int port; |
| | | |
| | | ConnectionHandlerDescriptor.Protocol protocol; |
| | |
| | | protocol = ConnectionHandlerDescriptor.Protocol.LDAP; |
| | | } |
| | | SortedSet<InetAddress> v = ldap.getListenAddress(); |
| | | if (v == null) |
| | | if (v != null) |
| | | { |
| | | addresses.addAll(v); |
| | | } |
| | |
| | | private ConnectionHandlerDescriptor getConnectionHandler( |
| | | AdministrationConnectorCfg adminConnector) throws OpenDsException |
| | | { |
| | | SortedSet<InetAddress> addresses = new TreeSet<InetAddress>(); |
| | | SortedSet<InetAddress> addresses = new TreeSet<InetAddress>( |
| | | getInetAddressComparator()); |
| | | |
| | | ConnectionHandlerDescriptor.Protocol protocol = |
| | | ConnectionHandlerDescriptor.Protocol.ADMINISTRATION_CONNECTOR; |
| | |
| | | |
| | | |
| | | SortedSet<InetAddress> v = adminConnector.getListenAddress(); |
| | | if (v == null) |
| | | if (v != null) |
| | | { |
| | | addresses.addAll(v); |
| | | } |