diff options
author | Marc Laukien <marc@zeroc.com> | 2002-06-23 21:17:04 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-06-23 21:17:04 +0000 |
commit | 59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch) | |
tree | c3ed292df270f11157decb83827d9af4144db52d /cpp/src/Ice/RouterInfo.h | |
parent | file run.py was initially added on branch location. (diff) | |
download | ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2 ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip |
removed spaces after keywords
Diffstat (limited to 'cpp/src/Ice/RouterInfo.h')
-rw-r--r-- | cpp/src/Ice/RouterInfo.h | 148 |
1 files changed, 74 insertions, 74 deletions
diff --git a/cpp/src/Ice/RouterInfo.h b/cpp/src/Ice/RouterInfo.h index 15fa489175e..b7d3791bea9 100644 --- a/cpp/src/Ice/RouterInfo.h +++ b/cpp/src/Ice/RouterInfo.h @@ -1,74 +1,74 @@ -// ********************************************************************** -// -// Copyright (c) 2001 -// MutableRealms, Inc. -// Huntsville, AL, USA -// -// All Rights Reserved -// -// ********************************************************************** - -#ifndef ICE_ROUTER_INFO_H -#define ICE_ROUTER_INFO_H - -#include <IceUtil/Shared.h> -#include <IceUtil/Mutex.h> -#include <Ice/RouterInfoF.h> -#include <Ice/RouterF.h> -#include <Ice/ProxyF.h> -#include <Ice/RoutingTableF.h> - -namespace IceInternal -{ - -class RouterManager : public ::IceUtil::Shared, public ::IceUtil::Mutex -{ -public: - - RouterManager(); - - void destroy(); - - // - // Returns router info for a given router. Automatically creates - // the router info if it doesn't exist yet. - // - RouterInfoPtr get(const ::Ice::RouterPrx&); - -private: - - std::map< ::Ice::RouterPrx, RouterInfoPtr> _table; - std::map< ::Ice::RouterPrx, RouterInfoPtr>::iterator _tableHint; -}; - -class RouterInfo : public ::IceUtil::Shared, public ::IceUtil::Mutex -{ -public: - - RouterInfo(const ::Ice::RouterPrx&); - - bool operator==(const RouterInfo&) const; - bool operator!=(const RouterInfo&) const; - bool operator<(const RouterInfo&) const; - - ::Ice::RouterPrx getRouter(); - ::Ice::ObjectPrx getClientProxy(); - void setClientProxy(const ::Ice::ObjectPrx&); - ::Ice::ObjectPrx getServerProxy(); - void setServerProxy(const ::Ice::ObjectPrx&); - void addProxy(const ::Ice::ObjectPrx&); - void setAdapter(const ::Ice::ObjectAdapterPtr&); - ::Ice::ObjectAdapterPtr getAdapter(); - -private: - - ::Ice::RouterPrx _router; - ::Ice::ObjectPrx _clientProxy; - ::Ice::ObjectPrx _serverProxy; - RoutingTablePtr _routingTable; - ::Ice::ObjectAdapterPtr _adapter; -}; - -} - -#endif +// **********************************************************************
+//
+// Copyright (c) 2001
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#ifndef ICE_ROUTER_INFO_H
+#define ICE_ROUTER_INFO_H
+
+#include <IceUtil/Shared.h>
+#include <IceUtil/Mutex.h>
+#include <Ice/RouterInfoF.h>
+#include <Ice/RouterF.h>
+#include <Ice/ProxyF.h>
+#include <Ice/RoutingTableF.h>
+
+namespace IceInternal
+{
+
+class RouterManager : public ::IceUtil::Shared, public ::IceUtil::Mutex
+{
+public:
+
+ RouterManager();
+
+ void destroy();
+
+ //
+ // Returns router info for a given router. Automatically creates
+ // the router info if it doesn't exist yet.
+ //
+ RouterInfoPtr get(const ::Ice::RouterPrx&);
+
+private:
+
+ std::map< ::Ice::RouterPrx, RouterInfoPtr> _table;
+ std::map< ::Ice::RouterPrx, RouterInfoPtr>::iterator _tableHint;
+};
+
+class RouterInfo : public ::IceUtil::Shared, public ::IceUtil::Mutex
+{
+public:
+
+ RouterInfo(const ::Ice::RouterPrx&);
+
+ bool operator==(const RouterInfo&) const;
+ bool operator!=(const RouterInfo&) const;
+ bool operator<(const RouterInfo&) const;
+
+ ::Ice::RouterPrx getRouter();
+ ::Ice::ObjectPrx getClientProxy();
+ void setClientProxy(const ::Ice::ObjectPrx&);
+ ::Ice::ObjectPrx getServerProxy();
+ void setServerProxy(const ::Ice::ObjectPrx&);
+ void addProxy(const ::Ice::ObjectPrx&);
+ void setAdapter(const ::Ice::ObjectAdapterPtr&);
+ ::Ice::ObjectAdapterPtr getAdapter();
+
+private:
+
+ ::Ice::RouterPrx _router;
+ ::Ice::ObjectPrx _clientProxy;
+ ::Ice::ObjectPrx _serverProxy;
+ RoutingTablePtr _routingTable;
+ ::Ice::ObjectAdapterPtr _adapter;
+};
+
+}
+
+#endif
|