Last change
on this file since 107 was
107,
checked in by stoda, 11 years ago
|
Error detected: there should be only one thread listening to the multiexchange queue.
TODO: change this. Make refactor in the invocationthread. Change remotethreadpool to achieve this behavior.
AInvocationThread <- InvocationTHread
<- MultiInvocationTHread
|
File size:
331 bytes
|
Line | |
---|
1 | package test.multi; |
---|
2 | |
---|
3 | import omq.Remote; |
---|
4 | import omq.client.annotation.AsyncMethod; |
---|
5 | import omq.client.annotation.MultiMethod; |
---|
6 | import omq.client.annotation.SyncMethod; |
---|
7 | |
---|
8 | public interface ClientBeer extends Remote{ |
---|
9 | @MultiMethod |
---|
10 | @SyncMethod(retry = 1, timeout = 500) |
---|
11 | public int[] getCl(); |
---|
12 | |
---|
13 | @AsyncMethod |
---|
14 | public void setCl(int cl); |
---|
15 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.