Last change
on this file since 110 was
107,
checked in by stoda, 11 years ago
|
Error detected: there should be only one thread listening to the multiexchange queue.
TODO: change this. Make refactor in the invocationthread. Change remotethreadpool to achieve this behavior.
AInvocationThread <- InvocationTHread
<- MultiInvocationTHread
|
File size:
693 bytes
|
Rev | Line | |
---|
[91] | 1 | package omq.common.broker; |
---|
| 2 | |
---|
| 3 | import java.io.IOException; |
---|
[92] | 4 | import java.util.Properties; |
---|
[91] | 5 | import java.util.Set; |
---|
| 6 | |
---|
| 7 | import omq.Remote; |
---|
| 8 | import omq.exception.RemoteException; |
---|
[103] | 9 | import omq.exception.RetryException; |
---|
[91] | 10 | |
---|
| 11 | public interface RemoteBroker extends Remote { |
---|
| 12 | public Set<String> getRemoteObjects(); |
---|
| 13 | |
---|
[92] | 14 | public void spawnObject(String reference, String className, Properties env) throws Exception; |
---|
[91] | 15 | |
---|
[92] | 16 | public void spawnObject(String reference, String className) throws Exception; |
---|
| 17 | |
---|
[91] | 18 | public void deleteObject(String reference) throws RemoteException, IOException; |
---|
| 19 | |
---|
[103] | 20 | public boolean hasObject(String reference) throws RetryException; |
---|
[91] | 21 | |
---|
[103] | 22 | public HasObject hasObjectInfo(String reference) throws RetryException; |
---|
| 23 | |
---|
[91] | 24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.