//
// $Id: client.cpp 82773 2008-09-17 18:57:59Z mesnier_p $
//

#include "Client_Task.h"

int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
  CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);

  Client_Task task (argc, argv);

  if (task.parse_args () != 1)
    {

      ACE_OS::exit (1);
    }

  task.try_RT_scheduling ();

  if (task.narrow_servant (orb.in()) != 1)
    {
        ACE_OS::exit (1);
    }

  task.run_test();

  return 0;
}
