Last change
on this file since 55 was
37,
checked in by stoda, 11 years ago
|
Stop broker working and unbind too.
|
File size:
370 bytes
|
Line | |
---|
1 | package multiThreadTest; |
---|
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.