summaryrefslogtreecommitdiff
path: root/cppe/include/IceE/Communicator.h
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/include/IceE/Communicator.h')
-rw-r--r--cppe/include/IceE/Communicator.h85
1 files changed, 0 insertions, 85 deletions
diff --git a/cppe/include/IceE/Communicator.h b/cppe/include/IceE/Communicator.h
deleted file mode 100644
index a1f731e231d..00000000000
--- a/cppe/include/IceE/Communicator.h
+++ /dev/null
@@ -1,85 +0,0 @@
-// **********************************************************************
-//
-// 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