blob: 610f4d966f11ed23633c2740572eb330fb71c756 (
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
51
|
// **********************************************************************
//
// Copyright (c) 2003-2004 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 ICE_PACK_NODE_INFO_H
#define ICE_PACK_NODE_INFO_H
#include <IcePack/Internal.h>
namespace IcePack
{
class ServerFactory;
typedef IceUtil::Handle<ServerFactory> ServerFactoryPtr;
class TraceLevels;
typedef IceUtil::Handle<TraceLevels> TraceLevelsPtr;
class NodeInfo : public ::IceUtil::Shared
{
public:
NodeInfo(const Ice::CommunicatorPtr&, const ServerFactoryPtr&, const NodePtr&, const TraceLevelsPtr&);
Ice::CommunicatorPtr getCommunicator() const;
ServerFactoryPtr getServerFactory() const;
TraceLevelsPtr getTraceLevels() const;
NodePtr getNode() const;
AdapterRegistryPrx getAdapterRegistry() const;
ObjectRegistryPrx getObjectRegistry() const;
ServerRegistryPrx getServerRegistry() const;
private:
Ice::CommunicatorPtr _communicator;
ServerFactoryPtr _serverFactory;
NodePtr _node;
TraceLevelsPtr _traceLevels;
};
typedef IceUtil::Handle<NodeInfo> NodeInfoPtr;
}
#endif
|