/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at
* trunk/opends/resource/legal-notices/OpenDS.LICENSE
* or https://OpenDS.dev.java.net/OpenDS.LICENSE.
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at
* trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
* add the following below this CDDL HEADER, with the fields enclosed
* by brackets "[]" replaced with your own identifying information:
* Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*
* Copyright 2006-2008 Sun Microsystems, Inc.
*/
/**
* This package contains the code for the Replication Server part
* of the Multimaster replication feature.
*
*
* A replication server is responsible for :
*
*
* - listen for connections from ldap servers.
* - Connect/manage connection to other replication servers.
* - Receive changes from ldap servers.
* - Forward changes to ldap server and other replication servers.
* - Save changes to stable storage (includes trimming of older operations).
*
*
*
* The main classes of this packages are :
*
*
* - SocketSession
* implements the ProtocolSession interface that is
* used by the replication server and the directory server to communicate.
* This is done by using the innate encoding/decoding capabilities of the
* ReplicationMessages objects. This class is used by both the
* replicationServer and the replication package.
*
* - ReplicationServerDomain
* implements the multiplexing part of the replication
* server. It contains method for forwarding all the received messages to
* the ServerHandler and to the dbHandler objects.
*
* - ServerHandler
* contains the code related to handler of remote
* server. It can manage replication servers of directory servers (may be it
* shoudl be splitted in two different classes, one for each of these).
*
* - ServerWriter
* the thread responsible for writing to the remote
* server.
*
* - ServerReader
* the thread responsible for reading from the remote
* object.
*
* - DbHandler
* DbHandler contains the code responsible for saving the changes to
* stable storage.
*
*
*/
@org.opends.server.types.PublicAPI(
stability=org.opends.server.types.StabilityLevel.PRIVATE)
package org.opends.server.replication.server;