Last change
on this file since 104 was
103,
checked in by stoda, 11 years ago
|
Supervisor done
TODO: revise supervisor
|
File size:
814 bytes
|
Line | |
---|
1 | package omq.common.broker; |
---|
2 | |
---|
3 | import java.io.IOException; |
---|
4 | import java.util.Properties; |
---|
5 | import java.util.Set; |
---|
6 | |
---|
7 | import omq.Remote; |
---|
8 | import omq.client.annotation.SyncMethod; |
---|
9 | import omq.exception.RemoteException; |
---|
10 | import omq.exception.RetryException; |
---|
11 | |
---|
12 | public interface RemoteBroker extends Remote { |
---|
13 | public Set<String> getRemoteObjects(); |
---|
14 | |
---|
15 | public void spawnObject(String reference, String className, Properties env) throws Exception; |
---|
16 | |
---|
17 | public void spawnObject(String reference, String className) throws Exception; |
---|
18 | |
---|
19 | public void deleteObject(String reference) throws RemoteException, IOException; |
---|
20 | |
---|
21 | @SyncMethod(retry = 1, timeout = 1000) |
---|
22 | public boolean hasObject(String reference) throws RetryException; |
---|
23 | |
---|
24 | @SyncMethod(retry = 1, timeout = 1000) |
---|
25 | public HasObject hasObjectInfo(String reference) throws RetryException; |
---|
26 | |
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.