summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ReplicaSessionManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ReplicaSessionManager.h')
-rw-r--r--cpp/src/IceGrid/ReplicaSessionManager.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/cpp/src/IceGrid/ReplicaSessionManager.h b/cpp/src/IceGrid/ReplicaSessionManager.h
index 6f895755ec6..15c918b8bbd 100644
--- a/cpp/src/IceGrid/ReplicaSessionManager.h
+++ b/cpp/src/IceGrid/ReplicaSessionManager.h
@@ -32,21 +32,6 @@ typedef IceUtil::Handle<TraceLevels> TraceLevelsPtr;
class ReplicaSessionManager : public IceUtil::Monitor<IceUtil::Mutex>
{
public:
-
- ReplicaSessionManager();
-
- void create(const std::string&, const RegistryInfo&, const DatabasePtr&, const WellKnownObjectsManagerPtr&,
- const InternalRegistryPrx&);
- void create(const InternalRegistryPrx&);
- NodePrxSeq getNodes() const;
- void destroy();
-
- void receivedUpdate(TopicName, int, const std::string&);
- void registerAllWellKnownObjects();
- ReplicaSessionPrx getSession() const { return _thread->getSession(); }
-
-private:
-
class Thread : public SessionKeepAliveThread<ReplicaSessionPrx, InternalRegistryPrx>
{
public:
@@ -83,6 +68,19 @@ private:
};
typedef IceUtil::Handle<Thread> ThreadPtr;
+ ReplicaSessionManager();
+
+ void create(const std::string&, const RegistryInfo&, const DatabasePtr&, const WellKnownObjectsManagerPtr&,
+ const InternalRegistryPrx&);
+ void create(const InternalRegistryPrx&);
+ NodePrxSeq getNodes() const;
+ void destroy();
+
+ void registerAllWellKnownObjects();
+ ReplicaSessionPrx getSession() const { return _thread->getSession(); }
+
+private:
+
friend class Thread;
ReplicaSessionPrx createSession(const InternalRegistryPrx&, IceUtil::Time&);