summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Transport_Current/IIOP/IIOP_Server_Main.cpp
blob: cce444d8662e42c555d4e15408be0182045e8b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// -*- C++ -*-

// $Id$

#include "IIOP_Server_Request_Interceptor.h"

/// Prototype
int server_main (int argc,
                 ACE_TCHAR *argv[],
                 Test::Server_Request_Interceptor *cri);

int
test_transport_current (CORBA::ORB_ptr orb
                        ACE_ENV_ARG_DECL)  ACE_THROW_SPEC ((CORBA::SystemException,
                                                            CORBA::UserException));

int
ACE_TMAIN (int argc,
           ACE_TCHAR *argv[])
{
  Test::IIOP_Server_Request_Interceptor cri ("test_orb", test_transport_current);
  return server_main (argc, argv, &cri);
}