diff options
Diffstat (limited to 'TAO/DevGuideExamples')
11 files changed, 14 insertions, 14 deletions
diff --git a/TAO/DevGuideExamples/AMH_AMI/run_test.pl b/TAO/DevGuideExamples/AMH_AMI/run_test.pl index 1e73cf21dc8..3747df0fa09 100755 --- a/TAO/DevGuideExamples/AMH_AMI/run_test.pl +++ b/TAO/DevGuideExamples/AMH_AMI/run_test.pl @@ -38,11 +38,11 @@ $md_server->DeleteFile($middle_ior); my $client_iorfile = $client->LocalFile ($middle_ior); $client->DeleteFile($middle_ior); -$IS = $in_server->CreateProcess ("inner_server", +$IS = $in_server->CreateProcess ("inner_server", "-ORBdebuglevel $debug_level " . "-o $in_server_inner_ior"); -$MD = $md_server->CreateProcess ("middle_server", +$MD = $md_server->CreateProcess ("middle_server", "-ORBdebuglevel $debug_level " . "-o $md_server_middle_ior " . "-i file://$md_server_inner_ior"); diff --git a/TAO/DevGuideExamples/LocalObjects/Messenger/Messenger_i.cpp b/TAO/DevGuideExamples/LocalObjects/Messenger/Messenger_i.cpp index 27d02a450dc..9c3f7306a6f 100644 --- a/TAO/DevGuideExamples/LocalObjects/Messenger/Messenger_i.cpp +++ b/TAO/DevGuideExamples/LocalObjects/Messenger/Messenger_i.cpp @@ -25,6 +25,6 @@ CORBA::Boolean Messenger_i::send_message ( CORBA::string_free(message); message = CORBA::string_dup("Thanks for the message."); return true; - + } diff --git a/TAO/DevGuideExamples/Messaging/AMIcallback/Messenger.idl b/TAO/DevGuideExamples/Messaging/AMIcallback/Messenger.idl index 17f625393f0..6488044fc67 100644 --- a/TAO/DevGuideExamples/Messaging/AMIcallback/Messenger.idl +++ b/TAO/DevGuideExamples/Messaging/AMIcallback/Messenger.idl @@ -8,7 +8,7 @@ exception MessengerUnableToSendMessage interface Messenger { - + boolean send_message(in string user_name, in string subject, inout string message, diff --git a/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp b/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp index 9ede1f8097b..d2cd1ef0502 100644 --- a/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp +++ b/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp @@ -74,7 +74,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv []) mgr->activate(); // Register an AMI handler for the Messenger interface - PortableServer::Servant_var<MessengerHandler> servant = + PortableServer::Servant_var<MessengerHandler> servant = new MessengerHandler(orb.in()); PortableServer::ObjectId_var oid = poa->activate_object(servant.in()); obj = poa->id_to_reference(oid.in()); diff --git a/TAO/DevGuideExamples/Multithreading/GracefulShutdown/Messenger_i.cpp b/TAO/DevGuideExamples/Multithreading/GracefulShutdown/Messenger_i.cpp index 1843bc73b98..48b503ce45d 100644 --- a/TAO/DevGuideExamples/Multithreading/GracefulShutdown/Messenger_i.cpp +++ b/TAO/DevGuideExamples/Multithreading/GracefulShutdown/Messenger_i.cpp @@ -14,12 +14,12 @@ Messenger_i::Messenger_i (CORBA::ORB_ptr orb) : orb_(CORBA::ORB::_duplicate(orb)) { } - + // Implementation skeleton destructor Messenger_i::~Messenger_i (void) { } - + CORBA::Boolean Messenger_i::send_message ( const char * user_name, const char * subject, diff --git a/TAO/DevGuideExamples/Multithreading/Reactive/Messenger_i.cpp b/TAO/DevGuideExamples/Multithreading/Reactive/Messenger_i.cpp index 4fae956687b..23d2653fcfc 100644 --- a/TAO/DevGuideExamples/Multithreading/Reactive/Messenger_i.cpp +++ b/TAO/DevGuideExamples/Multithreading/Reactive/Messenger_i.cpp @@ -13,12 +13,12 @@ Messenger_i::Messenger_i (void) { } - + // Implementation skeleton destructor Messenger_i::~Messenger_i (void) { } - + CORBA::Boolean Messenger_i::send_message ( const char * user_name, const char * subject, diff --git a/TAO/DevGuideExamples/PortableInterceptors/IOR/ServerIORInterceptor.cpp b/TAO/DevGuideExamples/PortableInterceptors/IOR/ServerIORInterceptor.cpp index 42bb29ef004..25b9700c4a9 100644 --- a/TAO/DevGuideExamples/PortableInterceptors/IOR/ServerIORInterceptor.cpp +++ b/TAO/DevGuideExamples/PortableInterceptors/IOR/ServerIORInterceptor.cpp @@ -45,7 +45,7 @@ ServerIORInterceptor::components_established ( void ServerIORInterceptor::adapter_manager_state_changed ( - const char* /*id*/, + const char* /*id*/, PortableInterceptor::AdapterState /*state*/) { } diff --git a/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ClientInterceptor.cpp b/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ClientInterceptor.cpp index 9b8850a173c..0e869a4ff00 100644 --- a/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ClientInterceptor.cpp +++ b/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ClientInterceptor.cpp @@ -81,7 +81,7 @@ ClientInterceptor::send_request (PortableInterceptor::ClientRequestInfo_ptr ri) } else { std::cerr << "Could not extract a boolean value from any" << std::endl; } - + // Add this context to the service context list. ri->add_request_service_context (sc, false); diff --git a/TAO/DevGuideExamples/SmartProxies/Logger.idl b/TAO/DevGuideExamples/SmartProxies/Logger.idl index b800e926afc..3b144588056 100644 --- a/TAO/DevGuideExamples/SmartProxies/Logger.idl +++ b/TAO/DevGuideExamples/SmartProxies/Logger.idl @@ -1,4 +1,4 @@ -// $Id$ +// $Id$ // Logger.idl diff --git a/TAO/DevGuideExamples/SmartProxies/Smart_Messenger_Proxy.cpp b/TAO/DevGuideExamples/SmartProxies/Smart_Messenger_Proxy.cpp index 4322b6397a4..a3572439088 100644 --- a/TAO/DevGuideExamples/SmartProxies/Smart_Messenger_Proxy.cpp +++ b/TAO/DevGuideExamples/SmartProxies/Smart_Messenger_Proxy.cpp @@ -51,7 +51,7 @@ Smart_Messenger_Proxy::send_message ( char *& message) { logger_->log_message("Before send_message()"); - CORBA::Boolean ret_val = + CORBA::Boolean ret_val = TAO_Messenger_Smart_Proxy_Base::send_message(user_name, subject, message); logger_->log_message("After send_message()"); return ret_val; diff --git a/TAO/DevGuideExamples/ValueTypes/Messenger/Messenger_i.cpp b/TAO/DevGuideExamples/ValueTypes/Messenger/Messenger_i.cpp index 3dc5a20807e..15a1dfed447 100644 --- a/TAO/DevGuideExamples/ValueTypes/Messenger/Messenger_i.cpp +++ b/TAO/DevGuideExamples/ValueTypes/Messenger/Messenger_i.cpp @@ -6,7 +6,7 @@ #include <sstream> - + CORBA::Boolean Messenger_i::send_message (Message*& msg) { msg->print(); |