diff options
author | Bernard Normier <bernard@zeroc.com> | 2014-09-10 19:09:53 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2014-09-10 19:09:53 +0000 |
commit | ac587d9f1a6d34e46956fd17c81f99beb7ed97ad (patch) | |
tree | fa09b2b2d5b6037c76976ee293eb0d15b7a93717 /cpp/src/IceGrid/NodeAdminRouter.h | |
parent | Fix networkProxy test dependencies (diff) | |
download | ice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.tar.bz2 ice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.tar.xz ice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.zip |
IceGrid::Admin now provides remote access to IceGrid registry and node Admin objects, and icegridadmin uses these
new operations to show the Ice log file for IceGrid registries and IceGrid nodes (ICE-2400)
Diffstat (limited to 'cpp/src/IceGrid/NodeAdminRouter.h')
-rw-r--r-- | cpp/src/IceGrid/NodeAdminRouter.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/NodeAdminRouter.h b/cpp/src/IceGrid/NodeAdminRouter.h new file mode 100644 index 00000000000..046a0dc0637 --- /dev/null +++ b/cpp/src/IceGrid/NodeAdminRouter.h @@ -0,0 +1,35 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICE_GRID_NODE_ADMIN_ROUTER_H +#define ICE_GRID_NODE_ADMIN_ROUTER_H + +#include <IceGrid/NodeI.h> +#include <IceGrid/AdminRouter.h> + +namespace IceGrid +{ + +// +// Routes requests to a server's admin object through the Node +// +class NodeServerAdminRouter : public AdminRouter +{ +public: + + NodeServerAdminRouter(const NodeIPtr&); + + virtual Ice::ObjectPrx getTarget(const Ice::Current&); + +private: + NodeIPtr _node; +}; + +} +#endif |