Last change
on this file since 99 was
92,
checked in by stoda, 11 years ago
|
TODO: delete in supervisor
check the code
|
File size:
641 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 | |
---|
11 | public interface RemoteBroker extends Remote { |
---|
12 | public Set<String> getRemoteObjects(); |
---|
13 | |
---|
14 | public void spawnObject(String reference, String className, Properties env) throws Exception; |
---|
15 | |
---|
16 | public void spawnObject(String reference, String className) throws Exception; |
---|
17 | |
---|
18 | public void deleteObject(String reference) throws RemoteException, IOException; |
---|
19 | |
---|
20 | @SyncMethod(retry = 1, timeout = 1000) |
---|
21 | public boolean hasObject(String reference); |
---|
22 | |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.