mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
13.55.2006 fa6e5bb0c17c4d59d8598979feb1a7701bc32679
opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java
@@ -36,6 +36,7 @@
import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
import org.opends.server.types.InitializationException;
import org.opends.server.types.HostPort;
import static org.opends.server.loggers.Debug.*;
@@ -65,6 +66,12 @@
  // handler.
  private LinkedList<ClientConnection> connectionList;
  // The list of listeners associated with this connection handler.
  private LinkedList<HostPort> listeners;
  // The name of the protocol for this connection handler.
  private String protocol;
  /**
@@ -81,7 +88,9 @@
    // Since we can't guarantee that the initializeConnectionHandler
    // method will always be called for this method, we'll do the
    // necessary "initialization" here.
    protocol       = "internal";
    connectionList = new LinkedList<ClientConnection>();
    listeners      = new LinkedList<HostPort>();
  }
@@ -154,6 +163,42 @@
  /**
   * {@inheritDoc}
   */
  public String getConnectionHandlerName()
  {
    assert debugEnter(CLASS_NAME, "getConnectionHandlerName");
    return "Internal Connection Handler";
  }
  /**
   * {@inheritDoc}
   */
  public String getProtocol()
  {
    assert debugEnter(CLASS_NAME, "getProtocol");
    return protocol;
  }
  /**
   * {@inheritDoc}
   */
  public Collection<HostPort> getListeners()
  {
    assert debugEnter(CLASS_NAME, "getProtocol");
    return listeners;
  }
  /**
   * Retrieves the set of active client connections that have been
   * established through this connection handler.
   *