001 /** 002 * Copyright (c) 2003 Daffodil Software Ltd all rights reserved, 003 * Modifications Copyright (c) 2008 Regiscope Digital Imaging Co, LLC, All rights reserved. 004 * This program is free software; you can redistribute it and/or modify 005 * it under the terms of version 2 of the GNU General Public License as 006 * published by the Free Software Foundation. 007 * There are special exceptions to the terms and conditions of the GPL 008 * as it is applied to this software. See the GNU General Public License for more details. 009 * 010 * This program is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 013 * GNU General Public License for more details. 014 * 015 * You should have received a copy of the GNU General Public License 016 * along with this program; if not, write to the Free Software 017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 018 */ 019 020 package org.dbreplicator.replication; 021 022 import java.rmi.*; 023 024 /** 025 * It is called at the time of: 026 * subscribe. 027 * snapshot. 028 * synchronize... For getting the publication's instance. 029 * 030 */ 031 032 public interface _ReplicationServerImpl extends Remote 033 { 034 _PubImpl getRemotePublication(String pubName) throws RemoteException, RepException; 035 036 public String getServerName() throws RemoteException; 037 038 public String getRemoteAddress() throws RemoteException, RepException ; 039 040 }

