summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeAdminRouter.h
blob: c613e1ef21b355bb577ca7805fe6f63e9a8a6612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// **********************************************************************
//
// Copyright (c) 2003-present ZeroC, Inc. All rights reserved.
//
// **********************************************************************

#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 void ice_invoke_async(const Ice::AMD_Object_ice_invokePtr&,
                                  const std::pair<const Ice::Byte*, const Ice::Byte*>&,
                                  const Ice::Current&);

private:

    NodeIPtr _node;
};

}
#endif