summaryrefslogtreecommitdiff
path: root/orbsvcs/examples/Log/Basic/main.cpp
blob: e3fb93ff58ca9134c8aa3b9a7d2faa377fd437fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "TLS_Client.h"
#include "ace/OS_main.h"

ACE_RCSID (Basic,
           main,
           "$Id$")


int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
  TLS_Client client; // Telecom Log Service Client

  try
    {
      client.init (argc, argv); //Init the Client

      client.run_tests (); //Init the Client

    }
  catch (const CORBA::UserException& ue)
    {
      ue._tao_print_exception ("TLS_Client user error: ");
      return 1;
    }
  catch (const CORBA::SystemException& se)
    {
      se._tao_print_exception ("TLS_Client system error: ");
      return 1;
    }

  return 0;
}