summaryrefslogtreecommitdiff
path: root/CIAO/performance-tests/Protocols/common
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/performance-tests/Protocols/common')
-rw-r--r--CIAO/performance-tests/Protocols/common/Protocols.idl29
-rw-r--r--CIAO/performance-tests/Protocols/common/Protocols.mpc54
-rw-r--r--CIAO/performance-tests/Protocols/common/Protocols_skel_export.h54
-rw-r--r--CIAO/performance-tests/Protocols/common/Protocols_stub_export.h54
4 files changed, 191 insertions, 0 deletions
diff --git a/CIAO/performance-tests/Protocols/common/Protocols.idl b/CIAO/performance-tests/Protocols/common/Protocols.idl
new file mode 100644
index 00000000000..f7f584e9fff
--- /dev/null
+++ b/CIAO/performance-tests/Protocols/common/Protocols.idl
@@ -0,0 +1,29 @@
+// $Id$
+
+module Protocols
+{
+ interface test
+ {
+ void start_test (in long session_id,
+ in string protocol,
+ in unsigned long invocation_rate,
+ in unsigned long message_size,
+ in unsigned long iterations);
+
+ void end_test ();
+
+ oneway void oneway_sync ();
+
+ void twoway_sync ();
+
+ typedef sequence<octet> octets;
+
+ oneway void oneway_method (in long session_id,
+ in unsigned long iteration,
+ in octets payload);
+
+ void twoway_method (inout long session_id,
+ inout unsigned long iteration,
+ inout octets payload);
+ };
+};
diff --git a/CIAO/performance-tests/Protocols/common/Protocols.mpc b/CIAO/performance-tests/Protocols/common/Protocols.mpc
new file mode 100644
index 00000000000..e7dc5609bc2
--- /dev/null
+++ b/CIAO/performance-tests/Protocols/common/Protocols.mpc
@@ -0,0 +1,54 @@
+// $Id$
+// This file is generated with "generate_component_mpc.pl -n Protocols"
+
+project(Protocols_stub): taolib_with_idl {
+
+ sharedname = Protocols_stub
+ idlflags += -St \
+ -Wb,stub_export_macro=PROTOCOLS_STUB_Export \
+ -Wb,stub_export_include=Protocols_stub_export.h \
+ -Wb,skel_export_macro=PROTOCOLS_SKEL_Export \
+ -Wb,skel_export_include=Protocols_skel_export.h
+ dynamicflags = PROTOCOLS_STUB_BUILD_DLL
+
+ IDL_Files {
+ Protocols.idl
+ }
+
+ Source_Files {
+ ProtocolsC.cpp
+ }
+
+ Header_Files {
+ Protocols_stub_export.h
+ }
+}
+
+project(Protocols_skel) : portableserver {
+ after += Protocols_stub
+ sharedname = Protocols_skel
+ libs += Protocols_stub
+
+ idlflags += -St \
+ -Wb,stub_export_macro=PROTOCOLS_STUB_Export \
+ -Wb,stub_export_include=Protocols_stub_export.h \
+ -Wb,skel_export_macro=PROTOCOLS_SKEL_Export \
+ -Wb,skel_export_include=Protocols_skel_export.h
+ dynamicflags = PROTOCOLS_SKEL_BUILD_DLL
+
+ IDL_Files {
+ Protocols.idl
+ }
+
+ Source_Files {
+ ProtocolsS.cpp
+ }
+
+ Header_Files {
+ Protocols_skel_export.h
+ }
+}
+
+
+
+
diff --git a/CIAO/performance-tests/Protocols/common/Protocols_skel_export.h b/CIAO/performance-tests/Protocols/common/Protocols_skel_export.h
new file mode 100644
index 00000000000..38692d63f09
--- /dev/null
+++ b/CIAO/performance-tests/Protocols/common/Protocols_skel_export.h
@@ -0,0 +1,54 @@
+
+// -*- C++ -*-
+// $Id$
+// Definition for Win32 Export directives.
+// This file is generated automatically by generate_export_file.pl PROTOCOLS_SVNT
+// ------------------------------
+#ifndef PROTOCOLS_SKEL_EXPORT_H
+#define PROTOCOLS_SKEL_EXPORT_H
+
+#include "ace/config-all.h"
+
+#if !defined (PROTOCOLS_SKEL_HAS_DLL)
+# define PROTOCOLS_SKEL_HAS_DLL 1
+#endif /* ! PROTOCOLS_SKEL_HAS_DLL */
+
+#if defined (PROTOCOLS_SKEL_HAS_DLL) && (PROTOCOLS_SKEL_HAS_DLL == 1)
+# if defined (PROTOCOLS_SKEL_BUILD_DLL)
+# define PROTOCOLS_SKEL_Export ACE_Proper_Export_Flag
+# define PROTOCOLS_SKEL_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
+# define PROTOCOLS_SKEL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# else /* PROTOCOLS_SKEL_BUILD_DLL */
+# define PROTOCOLS_SKEL_Export ACE_Proper_Import_Flag
+# define PROTOCOLS_SKEL_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
+# define PROTOCOLS_SKEL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# endif /* PROTOCOLS_SKEL_BUILD_DLL */
+#else /* PROTOCOLS_SKEL_HAS_DLL == 1 */
+# define PROTOCOLS_SKEL_Export
+# define PROTOCOLS_SKEL_SINGLETON_DECLARATION(T)
+# define PROTOCOLS_SKEL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+#endif /* PROTOCOLS_SKEL_HAS_DLL == 1 */
+
+// Set PROTOCOLS_SKEL_NTRACE = 0 to turn on library specific tracing even if
+// tracing is turned off for ACE.
+#if !defined (PROTOCOLS_SKEL_NTRACE)
+# if (ACE_NTRACE == 1)
+# define PROTOCOLS_SKEL_NTRACE 1
+# else /* (ACE_NTRACE == 1) */
+# define PROTOCOLS_SKEL_NTRACE 0
+# endif /* (ACE_NTRACE == 1) */
+#endif /* !PROTOCOLS_SKEL_NTRACE */
+
+#if (PROTOCOLS_SKEL_NTRACE == 1)
+# define PROTOCOLS_SKEL_TRACE(X)
+#else /* (PROTOCOLS_SKEL_NTRACE == 1) */
+# if !defined (ACE_HAS_TRACE)
+# define ACE_HAS_TRACE
+# endif /* ACE_HAS_TRACE */
+# define PROTOCOLS_SKEL_TRACE(X) ACE_TRACE_IMPL(X)
+# include "ace/Trace.h"
+#endif /* (PROTOCOLS_SKEL_NTRACE == 1) */
+
+#endif /* PROTOCOLS_SKEL_EXPORT_H */
+
+// End of auto generated file.
diff --git a/CIAO/performance-tests/Protocols/common/Protocols_stub_export.h b/CIAO/performance-tests/Protocols/common/Protocols_stub_export.h
new file mode 100644
index 00000000000..ab2de919ebd
--- /dev/null
+++ b/CIAO/performance-tests/Protocols/common/Protocols_stub_export.h
@@ -0,0 +1,54 @@
+
+// -*- C++ -*-
+// $Id$
+// Definition for Win32 Export directives.
+// This file is generated automatically by generate_export_file.pl PROTOCOLS_STUB
+// ------------------------------
+#ifndef PROTOCOLS_STUB_EXPORT_H
+#define PROTOCOLS_STUB_EXPORT_H
+
+#include "ace/config-all.h"
+
+#if !defined (PROTOCOLS_STUB_HAS_DLL)
+# define PROTOCOLS_STUB_HAS_DLL 1
+#endif /* ! PROTOCOLS_STUB_HAS_DLL */
+
+#if defined (PROTOCOLS_STUB_HAS_DLL) && (PROTOCOLS_STUB_HAS_DLL == 1)
+# if defined (PROTOCOLS_STUB_BUILD_DLL)
+# define PROTOCOLS_STUB_Export ACE_Proper_Export_Flag
+# define PROTOCOLS_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
+# define PROTOCOLS_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# else /* PROTOCOLS_STUB_BUILD_DLL */
+# define PROTOCOLS_STUB_Export ACE_Proper_Import_Flag
+# define PROTOCOLS_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
+# define PROTOCOLS_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# endif /* PROTOCOLS_STUB_BUILD_DLL */
+#else /* PROTOCOLS_STUB_HAS_DLL == 1 */
+# define PROTOCOLS_STUB_Export
+# define PROTOCOLS_STUB_SINGLETON_DECLARATION(T)
+# define PROTOCOLS_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+#endif /* PROTOCOLS_STUB_HAS_DLL == 1 */
+
+// Set PROTOCOLS_STUB_NTRACE = 0 to turn on library specific tracing even if
+// tracing is turned off for ACE.
+#if !defined (PROTOCOLS_STUB_NTRACE)
+# if (ACE_NTRACE == 1)
+# define PROTOCOLS_STUB_NTRACE 1
+# else /* (ACE_NTRACE == 1) */
+# define PROTOCOLS_STUB_NTRACE 0
+# endif /* (ACE_NTRACE == 1) */
+#endif /* !PROTOCOLS_STUB_NTRACE */
+
+#if (PROTOCOLS_STUB_NTRACE == 1)
+# define PROTOCOLS_STUB_TRACE(X)
+#else /* (PROTOCOLS_STUB_NTRACE == 1) */
+# if !defined (ACE_HAS_TRACE)
+# define ACE_HAS_TRACE
+# endif /* ACE_HAS_TRACE */
+# define PROTOCOLS_STUB_TRACE(X) ACE_TRACE_IMPL(X)
+# include "ace/Trace.h"
+#endif /* (PROTOCOLS_STUB_NTRACE == 1) */
+
+#endif /* PROTOCOLS_STUB_EXPORT_H */
+
+// End of auto generated file.