summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
blob: 26532667d31b0431d87cacf274a9b320dc0e8bf8 (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
// -*- C++ -*-
// $Id$

#include "RedGreen_Test.h"

int
main (int argc, char *argv [])
{
  ACE_High_Res_Timer::calibrate ();

  RedGreen_Test client;

  client.parse_args (argc, argv);

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

      client.run ();

      client.destroy_ec ();
    }
  catch (const CORBA::Exception& se)
    {
      se._tao_print_exception ("Error: ");
      return 1;
    }

  return 0;
}