blob: 32f0c0c9fb3ebafdc1a3df080dc24f3deaec0cf9 (
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
56
57
|
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************
#ifndef ICE_COMMUNICATOR_I_H
#define ICE_COMMUNICATOR_I_H
#include <Ice/InstanceF.h>
#include <Ice/Communicator.h>
#include <Ice/Shared.h>
namespace Ice
{
class CommunicatorI : public Communicator, public JTCRecursiveMutex
{
public:
virtual void destroy();
virtual void shutdown();
virtual void waitForShutdown();
virtual ObjectPrx stringToProxy(const std::string&);
virtual std::string proxyToString(const ObjectPrx&);
virtual ObjectAdapterPtr createObjectAdapter(const std::string&);
virtual ObjectAdapterPtr createObjectAdapterWithEndpoints(const std::string&, const std::string&);
virtual void installValueFactory(const ValueFactoryPtr&, const std::string&);
virtual PropertiesPtr getProperties();
virtual LoggerPtr getLogger();
virtual void setLogger(const LoggerPtr&);
virtual PicklerPtr getPickler();
private:
CommunicatorI(const PropertiesPtr&);
virtual ~CommunicatorI();
friend ICE_API CommunicatorPtr initialize(int&, char*[], Int);
friend ICE_API CommunicatorPtr initializeWithProperties(const PropertiesPtr&, Int);
::IceInternal::InstancePtr _instance;
};
}
#endif
|