1
2
3
4
5
6 package net.kwfgrid.gworkflowdl.protocol.client;
7
8 import net.kwfgrid.gworkflowdl.protocol.structure.IRootObject;
9
10 import java.rmi.RemoteException;
11
12 /***
13 Interface for a root object on the client side of a distributed structure.
14 */
15 public interface IClientRootObject extends IRootObject {
16 /***
17 Get the version number of this structure.
18 */
19 int getVersionNumber();
20
21 /***
22 Set the version number of this structure.
23 */
24 void setVersionNumber(int version);
25
26 /***
27 Update this structure to the server version.
28 @exception RemoteException If the server is unreachable.
29 */
30 void update() throws RemoteException;
31 }