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
diff --git a/test/DebugProtoTest.thrift b/test/DebugProtoTest.thrift
index dbce93e..5e361d2 100644
--- a/test/DebugProtoTest.thrift
+++ b/test/DebugProtoTest.thrift
@@ -228,14 +228,16 @@
 
 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 {