blob: 8b8d204723088beee9edf70a8f7f68c0bd02dde8 (
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
52
53
54
55
|
// **********************************************************************
//
// Copyright (c) 2001
// Mutable Realms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************
#ifndef ICE_PACK_NODE_INFO_H
#define ICE_PACK_NODE_INFO_H
#include <IcePack/Internal.h>
#include <Yellow/Yellow.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;
ServerRegistryPrx getServerRegistry() const;
Yellow::QueryPrx getYellowQuery() const;
Yellow::AdminPrx getYellowAdmin() const;
private:
Ice::CommunicatorPtr _communicator;
ServerFactoryPtr _serverFactory;
NodePtr _node;
TraceLevelsPtr _traceLevels;
};
typedef IceUtil::Handle<NodeInfo> NodeInfoPtr;
}
#endif
|