source: branches/supervisor/src/test/java/test/multi/ClientBeer.java @ 107

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 
1package test.multi;
2
3import omq.Remote;
4import omq.client.annotation.AsyncMethod;
5import omq.client.annotation.MultiMethod;
6import omq.client.annotation.SyncMethod;
7
8public 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.