diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-23 20:01:01 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-23 20:01:01 +0000 |
commit | 55ecfddbd42a8c75e504d5b63cf9e5e1fe725399 (patch) | |
tree | 18b3a9fee78390a87dcfa58a20ee813db62b80d2 /icetray/dryice.h | |
parent | Switch lib64 references for native ones (diff) | |
download | icetray-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.h | 32 |
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 + |