diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-09-01 10:12:30 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-09-01 10:12:30 +0000 |
commit | 2d8df196e4613a4b5a12eb3709014e688512a802 (patch) | |
tree | affa80b251e2fa18d49241a9186282d6ab259517 /cpp/include/IceStorm/Service.h | |
parent | Fix (diff) | |
download | ice-2d8df196e4613a4b5a12eb3709014e688512a802.tar.bz2 ice-2d8df196e4613a4b5a12eb3709014e688512a802.tar.xz ice-2d8df196e4613a4b5a12eb3709014e688512a802.zip |
IceGrid Windows port.
Diffstat (limited to 'cpp/include/IceStorm/Service.h')
-rw-r--r-- | cpp/include/IceStorm/Service.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/cpp/include/IceStorm/Service.h b/cpp/include/IceStorm/Service.h new file mode 100644 index 00000000000..9ac17a92a75 --- /dev/null +++ b/cpp/include/IceStorm/Service.h @@ -0,0 +1,50 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICESTORM_SERVICE_H +#define ICESTORM_SERVICE_H + +#include <IceBox/IceBox.h> +#include <IceStorm/IceStorm.h> + +#ifndef ICE_STORM_SERVICE_API +# ifdef ICE_STORM_SERVICE_API_EXPORTS +# define ICE_STORM_SERVICE_API ICE_DECLSPEC_EXPORT +# else +# define ICE_STORM_SERVICE_API ICE_DECLSPEC_IMPORT +# endif +#endif + +namespace IceStorm +{ + +class Service; +typedef ::IceInternal::Handle< ::IceStorm::Service> ServicePtr; + +class ICE_STORM_SERVICE_API Service : public ::IceBox::Service +{ +public: + + static ServicePtr create(const Ice::CommunicatorPtr&, + const Ice::ObjectAdapterPtr&, + const Ice::ObjectAdapterPtr&, + const std::string&, + const Ice::Identity&, + const std::string&); + + virtual void start(const std::string&, const Ice::CommunicatorPtr&, const Ice::StringSeq&) = 0; + + virtual TopicManagerPrx getTopicManager() const = 0; + + virtual void stop() = 0; +}; + +}; + +#endif |