source: branches/objectmq-1.0/src/omq/ztest/farm/Farm.java

Last change on this file was 33, checked in by amoreno, 11 years ago

new release version

File size: 430 bytes
Line 
1package omq.ztest.farm;
2
3import omq.Remote;
4import omq.client.annotation.AsyncMethod;
5import omq.client.annotation.RemoteInterface;
6import omq.client.annotation.SyncMethod;
7
8@RemoteInterface
9public interface Farm extends Remote {
10       
11        @AsyncMethod
12        public void setPig(Pig pig);
13       
14        @AsyncMethod
15        public void setCow(Cow cow);
16
17        @SyncMethod(timeout = 1500)
18        public Cow getCow();
19       
20        @SyncMethod(timeout = 1500)
21        public Pig getPig();
22
23}
Note: See TracBrowser for help on using the repository browser.