summaryrefslogtreecommitdiff
path: root/cpp/src/Yellow/AdminI.h
blob: a84f7bbaec04dd234e45b48e2f5b0d1ffc819897 (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
// **********************************************************************
//
// Copyright (c) 2001
// ZeroC, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************

#ifndef ADMIN_I_H
#define ADMIN_I_H

#include <Yellow/Yellow.h>
#include <Yellow/StringObjectProxySeqDict.h>

namespace Yellow
{

class AdminI : public Admin, public IceUtil::Mutex
{
public:
    
    AdminI(const Freeze::DBPtr&);

    virtual void add(const ::std::string&, const ::Ice::ObjectPrx&, const Ice::Current&);
    virtual void remove(const ::std::string&, const ::Ice::ObjectPrx&, const Ice::Current&);

private:
    
    StringObjectProxySeqDict _dict;
};

}

#endif