source:
branches/objectmq-1.0/test/test2/Mobile.java
Last change on this file was 33, checked in by amoreno, 11 years ago | |
---|---|
File size: 360 bytes |
Line | |
---|---|
1 | package test2; |
2 | |
3 | import java.util.List; |
4 | |
5 | import omq.Remote; |
6 | import omq.client.annotation.AsyncMethod; |
7 | import omq.client.annotation.RemoteInterface; |
8 | import omq.client.annotation.SyncMethod; |
9 | |
10 | @RemoteInterface |
11 | public interface Mobile extends Remote { |
12 | @AsyncMethod |
13 | public void sendMessage(String message); |
14 | |
15 | @SyncMethod |
16 | public List<String> getMessages(); |
17 | |
18 | |
19 | } |
Note: See TracBrowser
for help on using the repository browser.