From 55ecfddbd42a8c75e504d5b63cf9e5e1fe725399 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 23 Dec 2015 20:01:01 +0000 Subject: Create IceTray and DryIce for bootstrapping and dry running IceBox services --- icetray/dryice.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 icetray/dryice.h (limited to 'icetray/dryice.h') 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 +#include +#include + +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 + -- cgit v1.2.3