Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / TransportCurrent / Framework / Server_Main.cpp
blob133d33b4aa29d5f523e4c83510fe6d68963b0e29
1 // -*- C++ -*-
2 #include "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, ACE_TCHAR *argv[])
15 Test::Server_Request_Interceptor* cri = 0;
16 ACE_NEW_RETURN (cri,
17 Test::Server_Request_Interceptor ("test_orb",
18 test_transport_current),
19 -1);
20 PortableInterceptor::ServerRequestInterceptor_var cri_safe (cri);
22 return server_main (argc, argv, cri);