blob: 9ac17a92a75f24faf8a73fbb3c0fad13a503d206 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
|