Author: veithm
Date: Tue Apr 1 11:26:18 2014
New Revision: 1583629
URL: http://svn.apache.org/r1583629
Log:
Fixing HelloWorldExample C++ implementation
Change-Id: I836836946a9e3663f360dc29f789fb9f7ec1a7c4
Modified:
etch/trunk/examples/helloworld/cpp/src/main/include/ImplHelloWorldServer.h
etch/trunk/examples/helloworld/cpp/src/main/src/ImplHelloWorldServer.cpp
Modified:
etch/trunk/examples/helloworld/cpp/src/main/include/ImplHelloWorldServer.h
URL:
http://svn.apache.org/viewvc/etch/trunk/examples/helloworld/cpp/src/main/include/ImplHelloWorldServer.h?rev=1583629&r1=1583628&r2=1583629&view=diff
==============================================================================
--- etch/trunk/examples/helloworld/cpp/src/main/include/ImplHelloWorldServer.h
(original)
+++ etch/trunk/examples/helloworld/cpp/src/main/include/ImplHelloWorldServer.h
Tue Apr 1 11:26:18 2014
@@ -37,7 +37,7 @@ namespace org_apache_etch_examples_hello
// TODO insert methods here to provide declarations of HelloWorldServer
// messages from the mClient.
- say_helloAsyncResultPtr say_hello(HelloWorld::EtchNativeArrayuserPtr
to_whom);
+ say_helloAsyncResultPtr say_hello(HelloWorld::userPtr to_whom);
virtual status_t _sessionNotify(capu::SmartPointer<EtchObject> event ) {
if (event->getObjectType() == EtchString::TYPE()) {
Modified:
etch/trunk/examples/helloworld/cpp/src/main/src/ImplHelloWorldServer.cpp
URL:
http://svn.apache.org/viewvc/etch/trunk/examples/helloworld/cpp/src/main/src/ImplHelloWorldServer.cpp?rev=1583629&r1=1583628&r2=1583629&view=diff
==============================================================================
--- etch/trunk/examples/helloworld/cpp/src/main/src/ImplHelloWorldServer.cpp
(original)
+++ etch/trunk/examples/helloworld/cpp/src/main/src/ImplHelloWorldServer.cpp
Tue Apr 1 11:26:18 2014
@@ -21,7 +21,7 @@ using namespace org_apache_etch_examples
// TODO insert methods here to provide implementations of HelloWorldServer
// messages from the mClient.
- ImplHelloWorldServer::say_helloAsyncResultPtr
ImplHelloWorldServer::say_hello(HelloWorld::EtchNativeArrayuserPtr to_whom)
+ ImplHelloWorldServer::say_helloAsyncResultPtr
ImplHelloWorldServer::say_hello(HelloWorld::userPtr to_whom)
{
say_helloAsyncResultPtr res = new EtchAsyncResult<EtchString>();
res->setResult(new EtchString("Hi From C++ Server!"));