| | |
| | | * |
| | | * |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.server; |
| | | |
| | |
| | | import org.opends.server.types.DirectoryException; |
| | | |
| | | /** |
| | | * This interface defines a session used to search the external changelog |
| | | * This class implements a session used to search the external changelog |
| | | * in the Directory Server. |
| | | */ |
| | | public class ExternalChangeLogSessionImpl |
| | |
| | | { |
| | | |
| | | ECLServerHandler handler; |
| | | ReplicationServer rs; |
| | | |
| | | /** |
| | | * Create a new external changelog session. |
| | | * @param rs The replication server to which we will request the log. |
| | | * @throws DirectoryException When an error occurs. |
| | | */ |
| | | public ExternalChangeLogSessionImpl(ReplicationServer rs) |
| | | throws DirectoryException |
| | | { |
| | | this.rs = rs; |
| | | } |
| | | |
| | | /** |
| | | * Create a new external changelog session. |
| | |
| | | StartECLSessionMsg startECLSessionMsg) |
| | | throws DirectoryException |
| | | { |
| | | this.rs = rs; |
| | | |
| | | this.handler = new ECLServerHandler( |
| | | rs.getServerURL(), |
| | | rs.getServerId(), |