diff options
Diffstat (limited to 'test/haxe/src/TestServerHandler.hx')
-rw-r--r-- | test/haxe/src/TestServerHandler.hx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/haxe/src/TestServerHandler.hx b/test/haxe/src/TestServerHandler.hx index 0e1910560..34e471b93 100644 --- a/test/haxe/src/TestServerHandler.hx +++ b/test/haxe/src/TestServerHandler.hx @@ -25,6 +25,7 @@ import org.apache.thrift.transport.*; import org.apache.thrift.server.*; import org.apache.thrift.meta_data.*; import org.apache.thrift.helper.*; +import uuid.Uuid; import haxe.Int32; import haxe.Int64; @@ -147,6 +148,19 @@ class TestServerHandler implements ThriftTest_service { } /** + * Prints 'testUuid("%s")' + * @param Uuid thing - the uuid to print + * @return Uuid - returns the uuid 'thing' + * + * @param thing + */ + public function testUuid(thing : String) : String + { + trace('testUuid($thing)'); + return thing; + } + + /** * Prints 'testStruct("{%s}")' where thing has been formatted * into a string of comma separated values * @param Xtruct thing - the Xtruct to print |