| File was renamed from sdk/src/org/opends/sdk/ldap/LDAPConnectionFactoryImpl.java |
| | |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.sdk.ldap; |
| | | package com.sun.opends.sdk.ldap; |
| | | |
| | | |
| | | |
| | |
| | | import javax.net.ssl.SSLContext; |
| | | |
| | | import org.opends.sdk.*; |
| | | import org.opends.sdk.ldap.LDAPConnectionOptions; |
| | | import org.opends.sdk.controls.*; |
| | | import org.opends.sdk.extensions.StartTLSRequest; |
| | | import org.opends.sdk.responses.Responses; |
| | |
| | | /** |
| | | * LDAP connection factory implementation. |
| | | */ |
| | | final class LDAPConnectionFactoryImpl extends |
| | | public final class LDAPConnectionFactoryImpl extends |
| | | AbstractConnectionFactory<AsynchronousConnection> implements |
| | | ConnectionFactory<AsynchronousConnection> |
| | | { |
| | |
| | | { |
| | | |
| | | @Override |
| | | LDAPMessageHandler getMessageHandler( |
| | | protected LDAPMessageHandler getMessageHandler( |
| | | com.sun.grizzly.Connection<?> connection) |
| | | { |
| | | return ldapConnectionAttr.get(connection).getLDAPMessageHandler(); |
| | |
| | | |
| | | |
| | | @Override |
| | | void removeMessageHandler(com.sun.grizzly.Connection<?> connection) |
| | | protected void removeMessageHandler(com.sun.grizzly.Connection<?> connection) |
| | | { |
| | | ldapConnectionAttr.remove(connection); |
| | | } |
| | |
| | | * @throws NullPointerException |
| | | * If {@code host} or {@code options} was {@code null}. |
| | | */ |
| | | LDAPConnectionFactoryImpl(String host, int port, |
| | | public LDAPConnectionFactoryImpl(String host, int port, |
| | | LDAPConnectionOptions options) throws NullPointerException |
| | | { |
| | | this(host, port, options, getTCPNIOTransport()); |