moved cache replication to its own remote interface

This commit is contained in:
hns 2001-07-29 20:09:38 +00:00
parent 6ab83c5676
commit 285bc06a7f
2 changed files with 19 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}