From 285bc06a7f5398c5263db43c180743c9cc42e20d Mon Sep 17 00:00:00 2001 From: hns Date: Sun, 29 Jul 2001 20:09:38 +0000 Subject: [PATCH] moved cache replication to its own remote interface --- src/helma/framework/IRemoteApp.java | 2 -- src/helma/framework/IReplicatedApp.java | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 src/helma/framework/IReplicatedApp.java diff --git a/src/helma/framework/IRemoteApp.java b/src/helma/framework/IRemoteApp.java index b23d82cb..5bbe2b65 100644 --- a/src/helma/framework/IRemoteApp.java +++ b/src/helma/framework/IRemoteApp.java @@ -14,8 +14,6 @@ public interface IRemoteApp extends Remote { public ResponseTrans execute (RequestTrans param) throws RemoteException; - public void replicateCache (Vector add, Vector delete) throws RemoteException; - public void ping () throws RemoteException; } diff --git a/src/helma/framework/IReplicatedApp.java b/src/helma/framework/IReplicatedApp.java new file mode 100644 index 00000000..c41d4ee5 --- /dev/null +++ b/src/helma/framework/IReplicatedApp.java @@ -0,0 +1,19 @@ +// IReplicatedApp.java +// Copyright (c) Hannes Wallnöfer 2001 + +package helma.framework; + +import helma.objectmodel.Key; +import helma.objectmodel.INode; +import java.rmi.*; +import java.util.Vector; + +/** + * RMI interface for an application that is able to replicate it's node cache. + */ + +public interface IReplicatedApp extends Remote { + + public void replicateCache (Vector add, Vector delete) throws RemoteException; + +}