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.IOException ; 7 import java.io.Serializable ; 8 9 10 18 public class SyncPutEvent extends SyncEvent implements Serializable { 19 private Object _toBind; 20 private boolean _overwrite; 21 22 25 public SyncPutEvent(Name nodePath, NamePart name, Object toBind, 26 boolean overwrite) { 27 super(nodePath, name); 28 _toBind = toBind; 29 _overwrite = overwrite; 30 } 31 32 35 public Object getValue() throws IOException , ClassNotFoundException { 36 return _toBind; 37 } 38 39 public boolean getOverwrite() { 40 return _overwrite; 41 } 42 } 43 | Popular Tags |