summaryrefslogtreecommitdiff
path: root/icetray/dryice.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-23 20:01:01 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-23 20:01:01 +0000
commit55ecfddbd42a8c75e504d5b63cf9e5e1fe725399 (patch)
tree18b3a9fee78390a87dcfa58a20ee813db62b80d2 /icetray/dryice.h
parentSwitch lib64 references for native ones (diff)
downloadicetray-55ecfddbd42a8c75e504d5b63cf9e5e1fe725399.tar.bz2
icetray-55ecfddbd42a8c75e504d5b63cf9e5e1fe725399.tar.xz
icetray-55ecfddbd42a8c75e504d5b63cf9e5e1fe725399.zip
Create IceTray and DryIce for bootstrapping and dry running IceBox services
Diffstat (limited to 'icetray/dryice.h')
-rw-r--r--icetray/dryice.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/icetray/dryice.h b/icetray/dryice.h
new file mode 100644
index 0000000..f81a48c
--- /dev/null
+++ b/icetray/dryice.h
@@ -0,0 +1,32 @@
+#ifndef ICETRAY_TESTSETUP_H
+#define ICETRAY_TESTSETUP_H
+
+#include <Ice/Communicator.h>
+#include <IceBox/IceBox.h>
+#include <visibility.h>
+
+namespace IceTray {
+ class DLL_PUBLIC DryIce {
+ public:
+ DryIce(const Ice::StringSeq & = Ice::StringSeq());
+ DryIce(const DryIce &) = delete;
+ virtual ~DryIce();
+
+ void operator=(const DryIce &) = delete;
+
+ protected:
+ Ice::CommunicatorPtr ic;
+ IceBox::ServicePtr s;
+ };
+
+ class DLL_PUBLIC DryIceClient {
+ public:
+ DryIceClient();
+ virtual ~DryIceClient();
+
+ Ice::CommunicatorPtr ic;
+ };
+}
+
+#endif
+