diff options
author | Bryan Duxbury <bryanduxbury@apache.org> | 2010-05-26 16:34:48 +0000 |
---|---|---|
committer | Bryan Duxbury <bryanduxbury@apache.org> | 2010-05-26 16:34:48 +0000 |
commit | d58ccec66090afbbef68471cb635ad731ef03319 (patch) | |
tree | d1481420fba82e50ff18e7ec2511cc2d4dd86151 /test/DebugProtoTest.thrift | |
parent | 7ceba947212b6709adac7395a29d39376c50c9a4 (diff) | |
download | thrift-d58ccec66090afbbef68471cb635ad731ef03319.tar.gz |
THRIFT-768. java: Async client for Java
This patch adds an implementation of a fully-asynchronous client that makes use of NIO. Stubs for the async method calls are generated along with the existing synchronous ones.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@948492 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/DebugProtoTest.thrift')
-rw-r--r-- | test/DebugProtoTest.thrift | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/DebugProtoTest.thrift b/test/DebugProtoTest.thrift index dbce93ed6..5e361d217 100644 --- a/test/DebugProtoTest.thrift +++ b/test/DebugProtoTest.thrift @@ -228,14 +228,16 @@ service ServiceForExceptionWithAMap { service Srv { i32 Janky(1: i32 arg); - + // return type only methods - + void voidMethod(); i32 primitiveMethod(); CompactProtoTestStruct structMethod(); - + void methodWithDefaultArgs(1: i32 something = MYCONST); + + oneway void onewayMethod(); } service Inherited extends Srv { |