summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/AdminRouter.h
blob: 3e8de89aeb47fe7906429f03f92da3cffeb260cb (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
36
37
// **********************************************************************
//
// Copyright (c) 2003-2017 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_ADMIN_ROUTER_H
#define ICE_GRID_ADMIN_ROUTER_H

#include <Ice/Ice.h>
#include <IceGrid/TraceLevels.h>

namespace IceGrid
{

//
// An Admin Router routes requests to an admin object
//
class AdminRouter : public Ice::BlobjectArrayAsync
{
protected:

    AdminRouter(const TraceLevelsPtr&);

    void invokeOnTarget(const Ice::ObjectPrx&,
                        const Ice::AMD_Object_ice_invokePtr&,
                        const std::pair<const Ice::Byte*, const Ice::Byte*>&,
                        const Ice::Current&);

    const TraceLevelsPtr _traceLevels;
};

}
#endif