summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/DescriptorHelper.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-04-04 21:16:59 +0000
committerBernard Normier <bernard@zeroc.com>2006-04-04 21:16:59 +0000
commit91e39e48630772960bfe32effa926527519089dd (patch)
treefad9ee5218e2eab6c986e76e945284a5286fa96e /cpp/src/IceGrid/DescriptorHelper.h
parentglacier2 changes (diff)
downloadice-91e39e48630772960bfe32effa926527519089dd.tar.bz2
ice-91e39e48630772960bfe32effa926527519089dd.tar.xz
ice-91e39e48630772960bfe32effa926527519089dd.zip
Tru64 port
Diffstat (limited to 'cpp/src/IceGrid/DescriptorHelper.h')
-rw-r--r--cpp/src/IceGrid/DescriptorHelper.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/cpp/src/IceGrid/DescriptorHelper.h b/cpp/src/IceGrid/DescriptorHelper.h
index 413b81b0832..5396a27b9d5 100644
--- a/cpp/src/IceGrid/DescriptorHelper.h
+++ b/cpp/src/IceGrid/DescriptorHelper.h
@@ -135,36 +135,6 @@ private:
};
typedef IceUtil::Handle<ServerHelper> ServerHelperPtr;
-class ServiceInstanceHelper;
-
-class IceBoxHelper : public ServerHelper
-{
-public:
-
- IceBoxHelper(const IceBoxDescriptorPtr&);
- IceBoxHelper() { }
-
- bool operator==(const IceBoxHelper&) const;
- bool operator!=(const IceBoxHelper&) const;
-
- virtual ServerDescriptorPtr instantiate(const Resolver&) const;
-
- virtual void getIds(std::multiset<std::string>&, std::multiset<Ice::Identity>&) const;
-
- void print(IceUtil::Output&) const;
- void print(IceUtil::Output&, const std::string&, const std::string&) const;
-
-protected:
-
- void instantiateImpl(const IceBoxDescriptorPtr&, const Resolver&) const;
-
-private:
-
- IceBoxDescriptorPtr _desc;
-
- std::vector<ServiceInstanceHelper> _services;
-};
-
class InstanceHelper
{
protected:
@@ -176,6 +146,7 @@ protected:
const std::map<std::string, std::string>&) const;
};
+
class ServiceInstanceHelper : public InstanceHelper
{
public:
@@ -198,6 +169,35 @@ private:
mutable ServiceHelper _service;
};
+
+class IceBoxHelper : public ServerHelper
+{
+public:
+
+ IceBoxHelper(const IceBoxDescriptorPtr&);
+ IceBoxHelper() { }
+
+ bool operator==(const IceBoxHelper&) const;
+ bool operator!=(const IceBoxHelper&) const;
+
+ virtual ServerDescriptorPtr instantiate(const Resolver&) const;
+
+ virtual void getIds(std::multiset<std::string>&, std::multiset<Ice::Identity>&) const;
+
+ void print(IceUtil::Output&) const;
+ void print(IceUtil::Output&, const std::string&, const std::string&) const;
+
+protected:
+
+ void instantiateImpl(const IceBoxDescriptorPtr&, const Resolver&) const;
+
+private:
+
+ IceBoxDescriptorPtr _desc;
+
+ std::vector<ServiceInstanceHelper> _services;
+};
+
class ServerInstanceHelper : public InstanceHelper
{
public: