summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Notify/Filter/main.cpp
blob: 8d2ef0f19c7ed24acfccbe1835a39a0e783a0b6e (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
// -*- C++ -*-
// $Id$

#include "Filter.h"

int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
  FilterClient client;

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

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

  return 0;
}