source: branches/supervisor/src/main/java/omq/common/broker/RemoteMultiBroker.java @ 106

Last change on this file since 106 was 106, checked in by stoda, 11 years ago

abans que la segueixi liant...

File size: 594 bytes
Line 
1package omq.common.broker;
2
3import java.util.Set;
4
5import omq.Remote;
6import omq.client.annotation.MultiMethod;
7import omq.client.annotation.SyncMethod;
8import omq.exception.RetryException;
9
10public interface RemoteMultiBroker extends Remote {
11        @MultiMethod
12        @SyncMethod(retry = 1, timeout = 1000)
13        public Set<String> getRemoteObjects();
14
15        @MultiMethod
16        @SyncMethod(retry = 1, timeout = 1000)
17        public boolean[] hasObject(String reference) throws RetryException;
18
19        @MultiMethod
20        @SyncMethod(retry = 1, timeout = 1000)
21        public HasObject[] hasObjectInfo(String reference) throws RetryException;
22
23}
Note: See TracBrowser for help on using the repository browser.