Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Exposed_Policies / server.cpp
bloba26905e2eb53d59b0d52b13048c603a9dc30d75f
1 ////////////////////////////////////////////////////////////////////////
2 // This files tests the Client exposed policies:
3 // - PriorityModelPolicy
4 // - PriorityBandedConnectionPolicy
5 // - ClientProtocolPolicy
6 //
7 // This policies are embedded in the object reference, by writem
8 // them into the IOR.
9 //
10 // -- App. Specific Include --
11 #include "Policy_Tester.h"
13 #include "tao/Strategies/advanced_resource.h"
15 int
16 ACE_TMAIN(int argc, ACE_TCHAR *argv[])
18 try
20 Policy_Tester policy_tester;
22 int result = policy_tester.init (argc, argv);
24 if (result != 0)
25 return result;
27 policy_tester.run ();
30 catch (const CORBA::Exception& ex)
32 ex._tao_print_exception (ACE_TEXT ("CORBA Exception Raised."));
33 return 1;
37 return 0;