Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / TransportCurrent / IIOP / IIOP_Server_Main.cpp
blob060175b7518e887b523f9fa9820d0bf7f754a45b
1 // -*- C++ -*-
2 #include "IIOP_Server_Request_Interceptor.h"
4 /// Prototype
5 int server_main (int argc,
6 ACE_TCHAR *argv[],
7 Test::Server_Request_Interceptor *cri);
9 int
10 test_transport_current (CORBA::ORB_ptr orb);
12 int
13 ACE_TMAIN (int argc,
14 ACE_TCHAR *argv[])
16 Test::IIOP_Server_Request_Interceptor* cri = 0;
17 ACE_NEW_RETURN (cri,
18 Test::IIOP_Server_Request_Interceptor ("test_orb",
19 test_transport_current),
20 -1);
21 PortableInterceptor::ServerRequestInterceptor_var cri_safe (cri);
23 return server_main (argc, argv, cri);