/usr/include/IceE/Communicator.h is in libicee-dev 1.2.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | // **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice-E is licensed to you under the terms described in the
// ICEE_LICENSE file included in this distribution.
//
// **********************************************************************
#ifndef ICEE_COMMUNICATOR_H
#define ICEE_COMMUNICATOR_H
#include <IceE/CommunicatorF.h>
#include <IceE/LoggerF.h>
#include <IceE/PropertiesF.h>
#include <IceE/InstanceF.h>
#include <IceE/RecMutex.h>
#include <IceE/Initialize.h> // For the friend declarations.
namespace Ice
{
class ICE_API Communicator : public ::IceUtil::Shared
{
public:
void destroy();
void shutdown();
void waitForShutdown();
bool isShutdown() const;
ObjectPrx stringToProxy(const std::string&) const;
std::string proxyToString(const ObjectPrx&) const;
ObjectPrx propertyToProxy(const std::string&) const;
Identity stringToIdentity(const std::string&) const;
std::string identityToString(const Identity&) const;
ObjectAdapterPtr createObjectAdapter(const std::string&);
ObjectAdapterPtr createObjectAdapterWithEndpoints(const std::string&, const std::string&);
#ifdef ICEE_HAS_ROUTER
ObjectAdapterPtr createObjectAdapterWithRouter(const std::string&, const RouterPrx&);
#endif
PropertiesPtr getProperties() const;
LoggerPtr getLogger() const;
#ifdef ICEE_HAS_ROUTER
RouterPrx getDefaultRouter() const;
void setDefaultRouter(const RouterPrx&);
#endif
#ifdef ICEE_HAS_LOCATOR
LocatorPrx getDefaultLocator() const;
void setDefaultLocator(const LocatorPrx&);
#endif
#ifdef ICEE_HAS_BATCH
void flushBatchRequests();
#endif
private:
Communicator(const InitializationData&);
~Communicator();
//
// Certain initialization tasks need to be completed after the
// constructor.
//
void finishSetup(int&, char*[]);
friend ICE_API CommunicatorPtr initialize(int&, char*[], const InitializationData&, Int);
friend ICE_API CommunicatorPtr initialize(StringSeq&, const InitializationData&, Int);
friend ICE_API CommunicatorPtr initialize(const InitializationData&, Int);
friend ICE_API ::IceInternal::InstancePtr IceInternal::getInstance(const ::Ice::CommunicatorPtr&);
const ::IceInternal::InstancePtr _instance;
};
}
#endif
|