source: branches/objectmq_old/test/test/Client.java @ 58

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

Stop broker working and unbind too.

File size: 635 bytes
Line 
1package test;
2
3import java.util.Set;
4
5import omq.Remote;
6import omq.client.annotation.AsyncMethod;
7import omq.client.annotation.RemoteInterface;
8import omq.client.annotation.SyncMethod;
9import omq.exception.RemoteException;
10
11@RemoteInterface
12public interface Client extends Remote {
13
14        @SyncMethod(retry = 1, timeout = 1500)
15        public String getID();
16
17        @SyncMethod(retry = 1, timeout = 1500)
18        public String getProfileInfo();
19
20        @SyncMethod(retry = 1, timeout = 1500)
21        public Set<String> getFriends();
22
23        @AsyncMethod
24        public void sendMessage(String message);
25
26        @AsyncMethod
27        public void addContact(String contact) throws RemoteException;
28}
Note: See TracBrowser for help on using the repository browser.