summaryrefslogtreecommitdiff
path: root/orbsvcs/tests/Event/UDP/sender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'orbsvcs/tests/Event/UDP/sender.cpp')
-rw-r--r--orbsvcs/tests/Event/UDP/sender.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/orbsvcs/tests/Event/UDP/sender.cpp b/orbsvcs/tests/Event/UDP/sender.cpp
index c0ac8a4a6f5..3a83d94c10d 100644
--- a/orbsvcs/tests/Event/UDP/sender.cpp
+++ b/orbsvcs/tests/Event/UDP/sender.cpp
@@ -1,6 +1,5 @@
// $Id$
-
#include "Supplier.h"
#include "AddrServer.h"
#include "orbsvcs/Event_Service_Constants.h"
@@ -13,10 +12,6 @@
#include "ace/Get_Opt.h"
#include "ace/OS_NS_unistd.h"
-ACE_RCSID (EC_Examples,
- MCast,
- "$Id$")
-
const ACE_TCHAR *udp_mcast_address =
ACE_TEXT (ACE_DEFAULT_MULTICAST_ADDR) ACE_TEXT(":10001");
@@ -144,7 +139,8 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
}
// Now we setup the sender:
- TAO_EC_Servant_Var<TAO_ECG_UDP_Sender> sender = TAO_ECG_UDP_Sender::create();
+ PortableServer::Servant_var<TAO_ECG_UDP_Sender> sender =
+ TAO_ECG_UDP_Sender::create();
sender->init (event_channel.in (),
address_server.in (),
endpoint);
@@ -278,6 +274,6 @@ int parse_args (int argc, ACE_TCHAR *argv[])
argv [0]),
-1);
}
- // Indicates sucessful parsing of the command line
+ // Indicates successful parsing of the command line
return 0;
}