1/*- 2 * See the file LICENSE for redistribution information. 3 * 4 * Copyright (c) 1997,2008 Oracle. All rights reserved. 5 * 6 * $Id: RepRemoteHost.java,v 1.2 2008/01/08 20:58:32 bostic Exp $ 7 */ 8 9package db.repquote; 10 11import com.sleepycat.db.ReplicationHostAddress; 12 13public class RepRemoteHost{ 14 private ReplicationHostAddress addr; 15 private boolean isPeer; 16 17 public RepRemoteHost(ReplicationHostAddress remoteAddr, boolean hostIsPeer){ 18 addr = remoteAddr; 19 isPeer = hostIsPeer; 20 } 21 22 public ReplicationHostAddress getAddress(){ 23 return addr; 24 } 25 26 public boolean isPeer(){ 27 return isPeer; 28 } 29} 30