source: branches/objectmq-1.0/test/test2/Car.java @ 33

Last change on this file since 33 was 33, checked in by amoreno, 11 years ago

new release version

File size: 718 bytes
Line 
1package test2;
2
3import java.util.List;
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 Car extends Remote {
13        @AsyncMethod
14        public void setPlate(String plate);
15
16        @SyncMethod(timeout = 1500)
17        public String getPlate();
18
19        @AsyncMethod
20        public void setHP(int hp);
21
22        @SyncMethod(timeout = 1500)
23        public int getHP();
24
25        @AsyncMethod
26        public void setRims(List<Rim> rims);
27
28        @SyncMethod(timeout = 3000)
29        public List<Rim> getRims();
30
31        @AsyncMethod
32        public void setMobile(String mobile) throws RemoteException;
33
34        @SyncMethod
35        public String getMobile();
36
37}
Note: See TracBrowser for help on using the repository browser.