KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > rmi > naming > remote > archie > SyncEvent


1 package org.sapia.ubik.rmi.naming.remote.archie;
2
3 import org.sapia.archie.Name;
4 import org.sapia.archie.NamePart;
5
6 import java.io.Serializable JavaDoc;
7
8
9 /**
10  * @author Yanick Duchesne
11  * <dl>
12  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
13  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
14  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
15  * </dl>
16  */

17 public class SyncEvent implements Serializable JavaDoc {
18   private Name _nodePath;
19   private NamePart _name;
20
21   /**
22    * Constructor for SyncEvent.
23    */

24   public SyncEvent(Name nodePath, NamePart name) {
25     _nodePath = nodePath;
26     _name = name;
27   }
28
29   /**
30    * @return the name of the object to synchronize.
31    */

32   public NamePart getName() {
33     return _name;
34   }
35
36   /**
37    * @return the path of the node to which the object to synchronize belongs.
38    */

39   public Name getNodePath() {
40     return _nodePath;
41   }
42 }
43
Popular Tags