| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006 Sun Microsystems, Inc. |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api; |
| | | |
| | |
| | | import org.opends.server.types.HostPort; |
| | | import org.opends.server.types.InitializationException; |
| | | |
| | | import static org.opends.server.loggers.Debug.*; |
| | | |
| | | |
| | | |
| | |
| | | public abstract class ConnectionHandler |
| | | extends DirectoryThread |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | | */ |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.api.ConnectionHandler"; |
| | | |
| | | |
| | | |
| | |
| | | { |
| | | super(threadName); |
| | | |
| | | assert debugConstructor(CLASS_NAME, String.valueOf(threadName)); |
| | | monitor = null; |
| | | } |
| | | |
| | |
| | | */ |
| | | public ConnectionHandlerMonitor getConnectionHandlerMonitor() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getConnectionHandlerMonitor"); |
| | | |
| | | return monitor; |
| | | } |
| | |
| | | public void setConnectionHandlerMonitor( |
| | | ConnectionHandlerMonitor monitor) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "setConnectionHandlerMonitor", |
| | | String.valueOf(monitor)); |
| | | |
| | | this.monitor = monitor; |
| | | } |
| | |
| | | */ |
| | | public String toString() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "toString"); |
| | | |
| | | StringBuilder buffer = new StringBuilder(); |
| | | toString(buffer); |