Last change
on this file since 44 was
44,
checked in by stoda, 11 years ago
|
Objectmq converted to maven project
|
File size:
664 bytes
|
Rev | Line | |
---|
[44] | 1 | package exceptionTest; |
---|
| 2 | |
---|
| 3 | import omq.Remote; |
---|
| 4 | import omq.client.annotation.AsyncMethod; |
---|
| 5 | import omq.client.annotation.RemoteInterface; |
---|
| 6 | import omq.client.annotation.SyncMethod; |
---|
| 7 | |
---|
| 8 | @RemoteInterface |
---|
| 9 | public interface ClientInterface extends Remote { |
---|
| 10 | @AsyncMethod |
---|
| 11 | public void addWheels(int numWheels); |
---|
| 12 | |
---|
| 13 | @AsyncMethod |
---|
| 14 | public void addHp(int hp); |
---|
| 15 | |
---|
| 16 | @AsyncMethod |
---|
| 17 | public void addTrailer(Trailer t); |
---|
| 18 | |
---|
| 19 | @AsyncMethod |
---|
| 20 | public void setPrice(double price); |
---|
| 21 | |
---|
| 22 | @SyncMethod(timeout = 1000) |
---|
| 23 | public Trailer getTrailer(); |
---|
| 24 | |
---|
| 25 | @SyncMethod(timeout = 1000) |
---|
| 26 | public int getHp(); |
---|
| 27 | |
---|
| 28 | @SyncMethod(timeout = 1000) |
---|
| 29 | public int getWheels(); |
---|
| 30 | |
---|
| 31 | @SyncMethod(timeout = 1000) |
---|
| 32 | public double getPrice(); |
---|
| 33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.