summaryrefslogtreecommitdiff
path: root/TAO/tests/TransportCurrent/Framework/Server_Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/TransportCurrent/Framework/Server_Main.cpp')
-rw-r--r--TAO/tests/TransportCurrent/Framework/Server_Main.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/TAO/tests/TransportCurrent/Framework/Server_Main.cpp b/TAO/tests/TransportCurrent/Framework/Server_Main.cpp
new file mode 100644
index 00000000000..21c1227fbf3
--- /dev/null
+++ b/TAO/tests/TransportCurrent/Framework/Server_Main.cpp
@@ -0,0 +1,23 @@
+// -*- C++ -*-
+
+// $Id$
+
+#include "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::Server_Request_Interceptor cri ("test_orb", test_transport_current);
+ return server_main (argc, argv, &cri);
+}