diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-16 06:23:13 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-16 06:23:13 +0000 |
commit | 8759a126a1bb9eec550c37b5b14642b0cfeb797b (patch) | |
tree | bc4744f903d38710e61a9e8ca6766132e5926201 /branches/cpp-M1/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp | |
parent | fd1aa20dd751f242e2df5ee61c84dfbd7c0ebb83 (diff) |
Cleaning up SVN structure, moving branch under sca-cpp/branches.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880612 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/cpp-M1/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp')
-rw-r--r-- | branches/cpp-M1/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp | 187 |
1 files changed, 0 insertions, 187 deletions
diff --git a/branches/cpp-M1/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp b/branches/cpp-M1/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp deleted file mode 100644 index 8f564ff5bc..0000000000 --- a/branches/cpp-M1/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Copyright 2005 The Apache Software Foundation or its licensors, as applicable. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include "WSEntryPointTestImpl_WSEntryPointTestService_Proxy.h" - -#include "osoa/sca/sca.h" -using namespace osoa::sca; -using namespace tuscany::sca; - -extern "C" -{ - - #if defined(WIN32) || defined(_WINDOWS) - __declspec(dllexport) - #endif - WSEntryPointTestImpl_WSEntryPointTestService_Proxy* WSEntryPointTestImpl_WSEntryPointTestService_Proxy_Factory(ServiceWrapper* target) - { - return new WSEntryPointTestImpl_WSEntryPointTestService_Proxy(target); - } - - #if defined(WIN32) || defined(_WINDOWS) - __declspec(dllexport) - #endif - void WSEntryPointTestImpl_WSEntryPointTestService_Proxy_Destructor(void* proxy) - { - delete (WSEntryPointTestImpl_WSEntryPointTestService_Proxy*)proxy; - } -} - -WSEntryPointTestImpl_WSEntryPointTestService_Proxy::WSEntryPointTestImpl_WSEntryPointTestService_Proxy(ServiceWrapper* targ) : target(targ) -{ -} - -WSEntryPointTestImpl_WSEntryPointTestService_Proxy::~WSEntryPointTestImpl_WSEntryPointTestService_Proxy() -{ - if (target) - delete target; -} - -char* WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doChars( char* arg0) -{ - Operation operation("doChars"); - operation.addParameter(&arg0); - char* ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -long WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doLong( long arg0) -{ - Operation operation("doLong"); - operation.addParameter(&arg0); - long ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -int WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doInt( int arg0) -{ - Operation operation("doInt"); - operation.addParameter(&arg0); - int ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -float WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doFloat( float arg0) -{ - Operation operation("doFloat"); - operation.addParameter(&arg0); - float ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -long double WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doLongDouble( long double arg0) -{ - Operation operation("doLongDouble"); - operation.addParameter(&arg0); - long double ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -double WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doDouble( double arg0) -{ - Operation operation("doDouble"); - operation.addParameter(&arg0); - double ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -bool WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doBool( bool arg0) -{ - Operation operation("doBool"); - operation.addParameter(&arg0); - bool ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -short WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doShort( short arg0) -{ - Operation operation("doShort"); - operation.addParameter(&arg0); - short ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -char* WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doBytes( char* arg0) -{ - Operation operation("doBytes"); - operation.addParameter(&arg0); - char* ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -char WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doByte( char arg0) -{ - Operation operation("doByte"); - operation.addParameter(&arg0); - char ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -DataObjectPtr WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doMixed( char* arg0, long arg1, DataObjectPtr arg2, bool arg3, double arg4) -{ - Operation operation("doMixed"); - operation.addParameter(&arg0); - operation.addParameter(&arg1); - operation.addParameter(&arg2); - operation.addParameter(&arg3); - operation.addParameter(&arg4); - DataObjectPtr ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -DataObjectPtr WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doDataObject( DataObjectPtr arg0) -{ - Operation operation("doDataObject"); - operation.addParameter(&arg0); - DataObjectPtr ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -DataObjectPtr WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doAny( DataObjectPtr arg0) -{ - Operation operation("doAny"); - operation.addParameter(&arg0); - DataObjectPtr ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - - |